Hi,
I am trying to run powershell script by passing it as an argument value "-command Set-ExecutionPolicy -ExecutionPolicy ByPass;c:\temp\script.ps1" to workflow "Run Program in Guest ". However, I want to run this script as an administrator on the machine.
Could someone please suggest how can I achieve that ? I have tried using "-command Set-ExecutionPolicy -ExecutionPolicy ByPass;c:\temp\script.ps1 -verb RunAs" but no avail.