Invoking powershell in administrator mode

If you call a script rather than a command I believe that you can add the first line which will elevate privileges to administrator…

Try this link for starters …

https://stackoverflow.com/questions/7690994/powershell-running-a-command-as-administrator

1 Like