Run Programs Elevated

by Oct 27, 2010

If you have User Account Control (UAC) enabled, you may want to run a program elevated. That's easy using Start-Process and the -verb parameter. The next line launches an elevated PowerShell console:

Start-Process powershell -verb runas

Twitter This Tip!
ReTweet this Tip!