Skip to content

Commit 8185a8b

Browse files
committed
Add -Install to Get-WUInstall call to actually install Windows Updates.
1 parent 1c4a275 commit 8185a8b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

images/win/scripts/Installers/Install-WindowsUpdates.ps1

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66

77
Write-Host "Run windows updates"
88
Install-Module -Name PSWindowsUpdate -Force -AllowClobber
9-
Get-WUInstall -WindowsUpdate -AcceptAll -UpdateType Software -IgnoreReboot
10-
Get-WUInstall -MicrosoftUpdate -AcceptAll -IgnoreUserInput -IgnoreReboot
9+
Get-WUInstall -WindowsUpdate -AcceptAll -Install -UpdateType Software -IgnoreReboot
10+
Get-WUInstall -MicrosoftUpdate -AcceptAll -Install -IgnoreUserInput -IgnoreReboot

0 commit comments

Comments
 (0)