windows-update.ps1
· 170 B · PowerShell
Неформатований
Register-PSRepository -Default
install-module -name PSWindowsUpdate -Force
ECHO 'y' | powershell.exe -executionpolicy bypass Get-WUInstall -acceptall -autoreboot -install
| 1 | Register-PSRepository -Default |
| 2 | install-module -name PSWindowsUpdate -Force |
| 3 | ECHO 'y' | powershell.exe -executionpolicy bypass Get-WUInstall -acceptall -autoreboot -install |