Created
October 31, 2023 12:49
-
-
Save st1vms/70d94d57624e97bd35bb1aebdaf7bbd3 to your computer and use it in GitHub Desktop.
Powershell/.bat utils
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
set command=timeout /t 30 | |
powershell.exe -Command "Start-Process -Wait cmd -Verb RunAs -ArgumentList '/C %command%'" | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment