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 { }
|
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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue