Print update logs properly

This commit is contained in:
Manuel Thalmann 2024-08-24 14:47:51 +02:00
parent 9cda27781c
commit 8e97e7f54b

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