# Script to run the initial Windows Updates Install-PackageProvider -Name NuGet -Force Set-PSRepository -Name 'PSGallery' -InstallationPolicy Trusted Install-Module -Name PSWindowsUpdate Import-Module PSWindowsUpdate Install-WindowsUpdate -MicrosoftUpdate -AcceptAll -Install -IgnoreReboot