Last active
March 24, 2017 16:59
-
-
Save wim-beck/8404407ac2f92fdb07f795a14e0be36e to your computer and use it in GitHub Desktop.
Start powershell session as other user
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
# Start powershell session as other user | |
Start-Process PowerShell -Credential "Domain\username" | |
# Start powershell session as local admin | |
Start-Process PowerShell -Verb RunAs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment