We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a08825 commit dc2ac33Copy full SHA for dc2ac33
Powershell/OMCertCheck.ps1
@@ -119,6 +119,7 @@ function SCOM-CertCheck
119
if ($server -ne $env:COMPUTERNAME)
120
{
121
Invoke-Command -ComputerName $server {
122
+ $All = $using:All
123
Function Time-Stamp
124
125
@@ -154,7 +155,7 @@ $time : Starting Script
154
155
Write-Host $text3
156
foreach ($cert in $certs)
157
- if (!$using:All)
158
+ if (!$All)
159
160
$certSerial = $cert.SerialNumber
161
$certSerialReversed = [System.String]("")
0 commit comments