diff --git a/Tools/Update Windows in Powershell.txt b/Tools/Update Windows in Powershell.txt new file mode 100644 index 0000000..b409a90 --- /dev/null +++ b/Tools/Update Windows in Powershell.txt @@ -0,0 +1,33 @@ +REM Title: Update from Powershell +REM Author: @beigeworm | https://github.com/beigeworm +REM Description: Uses the Run Prompt to download a file and run it. +REM Target: Windows 10 + +REM *SETUP* +REM replace FILE_URL_HERE with the url of your file to run. + +REM some setup for dukie script. +DEFAULT_DELAY 100 + +REM open powershell (add "-W Hidden" to hide the window). +GUI r +DELAY 750 +STRING powershell -NoP -NonI -Exec Bypass +CTRL-SHIFT ENTER +DELAY 1500 +ALT y +DELAY 5000 + +STRING Install-Module PSWindowsUpdate +ENTER +DELAY 5000 +ENTER +DELAY 5000 +STRING a +ENTER +DELAY 250 +STRING Get-WindowsUpdate -AcceptAll -Install -AutoReboot +ENTER +DELAY 10000 +STRING exit +ENTER