diff --git a/Patches/Initial-Windows-Updates.ps1 b/Patches/Initial-Windows-Updates.ps1 index baa677f..a6282ca 100644 --- a/Patches/Initial-Windows-Updates.ps1 +++ b/Patches/Initial-Windows-Updates.ps1 @@ -1,5 +1,6 @@ # Script to run the initial Windows Updates -Install-packageProvider -Name NuGet -Force +SInstall-PackageProvider -Name NuGet -Force +Set-PSRepository -Name 'PSGallery' -InstallationPolicy Trusted Install-Module -Name PSWindowsUpdate Import-Module PSWindowsUpdate Install-WindowsUpdate -MicrosoftUpdate -AcceptAll -Install -IgnoreReboot