Created
November 1, 2022 01:11
-
-
Save c3rberus/eff0e695b4584d2401c6d8e0eeece2c9 to your computer and use it in GitHub Desktop.
runas administrator in headless Windows server
This file contains 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
runas /user:acme\administrator "cmd.exe /C powershell.exe"' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment