How To Run Powershell As Admin With A Robot

How to run powershell as admin with the Robot?

At the beginning of the script, add the following to simulate “Run as Administrator”,

  • PS> Start-Process powershell -Verb runAs
Take a look at this link for some suggestions: Running a command as administrator using powershell .