mirror of
https://github.com/beigeworm/BadUSB-Files-For-FlipperZero.git
synced 2026-01-08 03:10:53 -08:00
Add files via upload
This commit is contained in:
33
Tools/Update Windows in Powershell.txt
Normal file
33
Tools/Update Windows in Powershell.txt
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user