Less Write-Log
parent
6b961ce22e
commit
deb686d6ae
|
@ -32,8 +32,7 @@ Function Update-App ($app) {
|
|||
#Test for a Pending Reboot (Component Based Servicing/WindowsUpdate/CCM_ClientUtilities)
|
||||
$PendingReboot = Test-PendingReboot
|
||||
if ($PendingReboot -eq $true) {
|
||||
Write-Log "A Pending Reboot lingers and probably prohibited $($app.Name) from upgrading..." "Red"
|
||||
Write-Log "...an install for $($app.Name) is NOT executed!" "Red"
|
||||
Write-Log "A Pending Reboot lingers and probably prohibited $($app.Name) from upgrading...`n...an install for $($app.Name) is NOT executed!" "Red"
|
||||
$FailedToUpgrade = $true
|
||||
break
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue