Last active
April 4, 2016 14:47
-
-
Save felickz/24cd6f4beb7205f4add2b7f8fe6d2d92 to your computer and use it in GitHub Desktop.
Powershell command to open powershell as a different 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
#http://powershell.com/cs/blogs/tips/archive/2010/10/28/running-programs-as-different-user.aspx | |
Start-Process powershell -LoadUserProfile -Credential (Get-Credential) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment