First version of unified script
This commit is contained in:
6
setupUpdate.ps1
Normal file
6
setupUpdate.ps1
Normal file
@@ -0,0 +1,6 @@
|
||||
function UpdateWindows {
|
||||
Disable-WindowsOptionalFeature -online -NoRestart -FeatureName internet-explorer-optional-amd64
|
||||
Install-Module -Name PSWindowsUpdate -Force
|
||||
Get-WindowsUpdate -ForceInstall
|
||||
Install-WindowsUpdate -AcceptAll -AutoReboot
|
||||
}
|
||||
Reference in New Issue
Block a user