dszubov 修订了这个 Gist . 转到此修订
1 file changed, 3 insertions
windows-update.ps1(文件已创建)
| @@ -0,0 +1,3 @@ | |||
| 1 | + | Register-PSRepository -Default | |
| 2 | + | install-module -name PSWindowsUpdate -Force | |
| 3 | + | ECHO 'y' | powershell.exe -executionpolicy bypass Get-WUInstall -acceptall -autoreboot -install | |
上一页
下一页