Skip to content

Instantly share code, notes, and snippets.

@felickz
Last active April 4, 2016 14:47
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save felickz/24cd6f4beb7205f4add2b7f8fe6d2d92 to your computer and use it in GitHub Desktop.
Powershell command to open powershell as a different user
#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