run powershell script as administrator lst returns long code example Example: powershell admin privileges Start-Process powershell -Verb runAs