From 4b9b1383dca9a930ac42aaa7b2b36cc25bd27e93 Mon Sep 17 00:00:00 2001 From: OCram85 Date: Thu, 4 Apr 2019 16:08:31 +0200 Subject: [PATCH] fix var name --- src/Certificate/Test-CSCertificate.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Certificate/Test-CSCertificate.ps1 b/src/Certificate/Test-CSCertificate.ps1 index eef6f28..7a6c97f 100644 --- a/src/Certificate/Test-CSCertificate.ps1 +++ b/src/Certificate/Test-CSCertificate.ps1 @@ -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