Running a command as Administrator using PowerShell?

If the current console is not elevated and the operation you’re trying to do requires elevated privileges then you can start powershell with the Run as Administrator option :

PS> Start-Process powershell -Verb runAs

Leave a Comment