Print update logs properly

This commit is contained in:
Manuel Thalmann 2024-08-24 14:47:51 +02:00
parent bde4a6bea3
commit 4608c4748c

View file

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