Improve output text formatting
This commit is contained in:
parent
4850f846e7
commit
8898441184
1 changed files with 3 additions and 3 deletions
|
@ -52,10 +52,10 @@ Foreach($kbID in $kbIDs){
|
|||
Start-Sleep -Seconds 3
|
||||
}while(Invoke-Command -ScriptBlock {Get-Process | Where-Object {$_.name -eq "wusa"}})
|
||||
if(Get-HotFix -Id $kbID -ErrorAction SilentlyContinue){
|
||||
Write-Host -NoNewline -ForegroundColor Red "Failed"
|
||||
Write-Host -ForegroundColor Red "Failed"
|
||||
}
|
||||
else{
|
||||
Write-Host -NoNewline -ForegroundColor Green "Done"
|
||||
Write-Host -ForegroundColor Green "Done"
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
|
Reference in a new issue