running powershell in admin mode code example Example: powershell admin privileges Start-Process powershell -Verb runAs