remove-cimsession fix

This commit is contained in:
vrdse 2018-01-06 15:28:13 +01:00
parent b607bc459f
commit 1df2a54f8b
1 changed files with 1 additions and 1 deletions

View File

@ -1188,7 +1188,7 @@ if ($ComputerName) {
Invoke-Command -ScriptBlock $GetMeltdownStatusInformation -Session $_
} -ImportVariable
$CimSession | Remove-CimSession
$CimSession | Remove-CimSession -ErrorAction SilentlyContinue
}
else {
. $GetMeltdownStatusInformation