windows powershell execute cmd as admnistrator code example Example: powershell admin privileges Start-Process powershell -Verb runAs