From f440397c9ebcbe1cbba912e4853fb3dcf59f1360 Mon Sep 17 00:00:00 2001 From: scarrington Date: Thu, 12 Dec 2024 13:22:21 -0600 Subject: [PATCH] Added Windows Updates Script --- Patches/Initial-Windows-Updates.ps1 | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 Patches/Initial-Windows-Updates.ps1 diff --git a/Patches/Initial-Windows-Updates.ps1 b/Patches/Initial-Windows-Updates.ps1 new file mode 100644 index 0000000..baa677f --- /dev/null +++ b/Patches/Initial-Windows-Updates.ps1 @@ -0,0 +1,5 @@ +# Script to run the initial Windows Updates +Install-packageProvider -Name NuGet -Force +Install-Module -Name PSWindowsUpdate +Import-Module PSWindowsUpdate +Install-WindowsUpdate -MicrosoftUpdate -AcceptAll -Install -IgnoreReboot