windows update before winget
This commit is contained in:
parent
51245e0bb1
commit
2c2fc64f3a
1 changed files with 3 additions and 3 deletions
|
@ -8,12 +8,12 @@ fltmc >nul 2>&1 || (
|
||||||
exit 0
|
exit 0
|
||||||
)
|
)
|
||||||
|
|
||||||
:: Windows programs
|
|
||||||
winget upgrade -h --all
|
|
||||||
|
|
||||||
:: Windows Update
|
:: Windows Update
|
||||||
powershell -Command "Set-ExecutionPolicy Bypass -Scope Process;" ^
|
powershell -Command "Set-ExecutionPolicy Bypass -Scope Process;" ^
|
||||||
"Get-WindowsUpdate -AcceptAll -Install"
|
"Get-WindowsUpdate -AcceptAll -Install"
|
||||||
|
|
||||||
|
:: Windows programs
|
||||||
|
winget upgrade -h --all
|
||||||
|
|
||||||
pause
|
pause
|
||||||
exit /b
|
exit /b
|
||||||
|
|
Loading…
Reference in a new issue