diff --git a/setupUpdate.ps1 b/setupUpdate.ps1 index 626fd8c..5348713 100644 --- a/setupUpdate.ps1 +++ b/setupUpdate.ps1 @@ -1,5 +1,6 @@ function UpdateWindows { Disable-WindowsOptionalFeature -online -NoRestart -FeatureName internet-explorer-optional-amd64 + Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force Install-Module -Name PSWindowsUpdate -Force Get-WindowsUpdate -ForceInstall Install-WindowsUpdate -AcceptAll -AutoReboot