Reworked output messages

This commit is contained in:
Yorick Barbanneau 2016-03-16 14:42:35 +01:00
parent 5f13170898
commit 4b8d527517

View file

@ -119,7 +119,7 @@ $gwx_dirs | ForEach {
lock_dir $_ lock_dir $_
} }
Write-Host -ForegroundColor white "`nRemoving and locking GWX folders ... " Write-Host -ForegroundColor white "`nRemoving Updates... "
Foreach($kbID in $kbIDs){ Foreach($kbID in $kbIDs){
$kbNum = $kbID.Replace("KB","") $kbNum = $kbID.Replace("KB","")
@ -143,8 +143,7 @@ Foreach($kbID in $kbIDs){
Write-Host -ForegroundColor Yellow ("Not installed") Write-Host -ForegroundColor Yellow ("Not installed")
} }
} }
Write-Host "`nHiding Updates"
Write-Host "--------------`n"
Write-Host -ForegroundColor white "`nHidding Updates... "
hide_update $kbIDs hide_update $kbIDs
remove_tasks $sheduledTasks remove_tasks $sheduledTasks