Print update logs properly
This commit is contained in:
parent
bde4a6bea3
commit
4608c4748c
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue