Skip to content

Commit 16f454d

Browse files
Update OMCertCheck.ps1
1 parent d882f95 commit 16f454d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Powershell/OMCertCheck.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ function SCOM-CertCheck
9898
[Array]$Servers,
9999
[Parameter(Mandatory = $false,
100100
Position = 2)]
101-
[String]$Output = "C:\Windows\temp\SCOM-CertChecker-Output.txt",
101+
[String]$Output,
102102
[Parameter(Mandatory = $false,
103103
Position = 3)]
104104
[Switch]$All
@@ -1048,9 +1048,9 @@ Enhanced Key Usage Extension is Good
10481048
$time : Script Completed
10491049
"@
10501050
$out | Out-File $Output
1051+
start C:\Windows\explorer.exe -ArgumentList "/select, $Output"
10511052
}
10521053
}
1053-
start C:\Windows\explorer.exe -ArgumentList "/select, $Output"
10541054
#return $out
10551055
break
10561056
}

0 commit comments

Comments
 (0)