Print update logs properly

This commit is contained in:
Manuel Thalmann 2024-08-24 14:47:51 +02:00
parent 609b3223f6
commit 6cac8246c0

View file

@ -22,11 +22,11 @@ function Update-WindowsInstallation {
catch { } catch { }
if ((Get-WURebootStatus -Silent)) { if ((Get-WURebootStatus -Silent)) {
Write-Information "A Reboot is Required!"; Write-Host "A Reboot is Required!";
Write-Information "Windows will reboot now and the installation will be continued automatically."; Write-Host "Windows will reboot now and the installation will be continued automatically.";
return; return;
} else { } else {
Write-Information "Updating Windows finished successfully!"; Write-Host "Updating Windows finished successfully!";
return; return;
} }
} }