Updating setupUpdate
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
function UpdateWindows {
|
function UpdateWindows {
|
||||||
Disable-WindowsOptionalFeature -online -NoRestart -FeatureName internet-explorer-optional-amd64
|
Disable-WindowsOptionalFeature -online -NoRestart -FeatureName internet-explorer-optional-amd64
|
||||||
|
Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force
|
||||||
Install-Module -Name PSWindowsUpdate -Force
|
Install-Module -Name PSWindowsUpdate -Force
|
||||||
Get-WindowsUpdate -ForceInstall
|
Get-WindowsUpdate -ForceInstall
|
||||||
Install-WindowsUpdate -AcceptAll -AutoReboot
|
Install-WindowsUpdate -AcceptAll -AutoReboot
|
||||||
|
|||||||
Reference in New Issue
Block a user