diff --git a/scripts/Windows/OS/Upgrade.ps1 b/scripts/Windows/OS/Upgrade.ps1 index 657c4337..87765ebd 100644 --- a/scripts/Windows/OS/Upgrade.ps1 +++ b/scripts/Windows/OS/Upgrade.ps1 @@ -7,7 +7,7 @@ function Invoke-Upgrade([Context] $context) Write-Information "Performing Windows Update"; $null = Install-WindowsUpdate -AcceptAll -IgnoreReboot; - if ((Get-WURebootStatus).RebootRequired) + if ((Get-WURebootStatus -Silent)) { Write-Debug "A Reboot is Required!"; Write-Debug "Windows will reboot now and the installation will be continued automatically.";