Quantcast
Channel: VMware Communities : Discussion List - vRealize Orchestrator
Viewing all articles
Browse latest Browse all 6251

Run Program in Guest as Administrator

$
0
0

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.


Viewing all articles
Browse latest Browse all 6251

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>