From 77062347ac0fcf050fa86a7750b3d0a2f6e84df8 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Sat, 15 Jul 2023 22:32:22 +0200 Subject: [PATCH] Disable unnecessary errors --- scripts/Windows/OS/Upgrade.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Windows/OS/Upgrade.ps1 b/scripts/Windows/OS/Upgrade.ps1 index 55f4563c..9ce2be8f 100644 --- a/scripts/Windows/OS/Upgrade.ps1 +++ b/scripts/Windows/OS/Upgrade.ps1 @@ -9,7 +9,7 @@ function Update-WindowsInstallation([Context] $context) $null = Import-Module PSWindowsUpdate; Write-Host "Performing Windows Update"; - $null = Install-WindowsUpdate -AcceptAll -IgnoreReboot; + $null = Install-WindowsUpdate -AcceptAll -IgnoreReboot -ErrorAction "SilentlyContinue"; if ((Get-WURebootStatus -Silent)) {