Skip to content

Instantly share code, notes, and snippets.

@mrsombre
Last active October 15, 2018 05:49
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 mrsombre/8c9672281a7fb915475cf7cc26ac780c to your computer and use it in GitHub Desktop.
Save mrsombre/8c9672281a7fb915475cf7cc26ac780c to your computer and use it in GitHub Desktop.

How to start powershell in admin mode

  • Create shortcut for powershell
  • Set windows size Maximized
  • Set Advanced -> Run as administrator
  • Target line: %SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe -NoExit -ExecutionPolicy Unrestricted -Command "cd C:\WebDev"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment