run command as admin windows powershell code example Example: powershell admin privileges Start-Process powershell -Verb runAs