fix var name

This commit is contained in:
OCram85 2019-04-04 16:08:31 +02:00
parent ec72c1bf13
commit 4b9b1383dc

View File

@ -71,7 +71,7 @@ function Test-CSCertificate {
}
process {
$Cert = $Store.Certificates | Where-Object { $_.Thumbprint -eq $Thumb }
$Cert = $Store.Certificates | Where-Object { $_.Thumbprint -eq $Thumbprint }
if ($null -eq $Cert) {
return $false