Updating setupUpdate

This commit is contained in:
2023-11-13 14:10:17 +01:00
parent 85f1cf7470
commit 801a64ee23

View File

@@ -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