This page looks best with JavaScript enabled

Using Start-Process to Start an Admin Powershell Instance - Quick Tip

 ·   ·  ☕ 1 min read

You may start an Administrative Powershell from a separate shell by using the -Verb RunAs parameter like this:

Start-Process Powershell -Verb RunAs

This will create an elevated Powershell instance, however the new instance of powershell will be targeting a new path: C:\WINDOWS\System32\. If you’d like to open Powershell at a custom directory or the current shells directory you may pass in a Working Directory. For example: Start-Process Powershell -Verb RunAs -WorkingDirectory . creates a new shell in the current directory with elevated permissions.

This works with other programs as well. If you want an admin Command Prompt for example you could run this:

Start-Process cmd -verb runas


Start-Process documentation:

Join the World of Zero Discord Server:

Sam Wronski
Sam Wronski
Maker of things, currently helping build cloud things @ Google. World of Zero is a personal project disconnected from my professional work. Lets make something awesome together!