Less Write-Log

pull/136/head
KnifMelti 2022-08-07 09:32:25 +02:00
parent 6b961ce22e
commit deb686d6ae
1 changed files with 1 additions and 2 deletions

View File

@ -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
}