ruebenramirez / blog

My blog
http://blog.ruebenramirez.com/
7 stars 0 forks source link

start powershell terminal with admin privileges #435

Open ruebenramirez opened 4 years ago

ruebenramirez commented 4 years ago

if you're already in powershell:

Start-Process PowerShell -Verb RunAs

if not in powershell:

powershell -Command "Start-Process PowerShell -Verb RunAs"

source: https://serverfault.com/a/464024

ruebenramirez commented 4 years ago

when the confirmation dialog pops up, can quickly accept with ALT + y