Skip to content

Instantly share code, notes, and snippets.

@elricstorm
Last active August 29, 2015 14:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save elricstorm/a5f0253b7217033795fd to your computer and use it in GitHub Desktop.
Save elricstorm/a5f0253b7217033795fd to your computer and use it in GitHub Desktop.
PowerShell Help
cd C:\
C:\Windows\System32\runas.exe /env /noprofile /user:corp\username "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -noprofile -command \"start-process powershell_ise -verb RunAs\""
cd C:\
C:\Windows\System32\runas.exe /env /noprofile /user:corp\username "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -noprofile -command \"start-process powershell -verb RunAs\""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment