Quantcast
Channel: VMware Communities : All Content - vRealize Automation Tools
Viewing all articles
Browse latest Browse all 9859

Pass a Custom Property from vRA to vRO and then execute a powershell command using the Custom Property

$
0
0

I have a Custom Property defined in vRA called PatchPhase (Drop Down List).  I want to use the results of Patch Phase and use vRO to execute a PowerShell command that has an If\Then command.

 

If ($PatchPhase -eq "Phase_I") {Write "User Selected Patch Phase I")}

 

The Powershell script works by itself if I supply the variables

I can use vRO to Read the vRA properties and log them

 

What I cannot do is send the Custom Property to the Powershell command.

 

 

I have greater goals but would like to see the powershell work with the Custom Property to start.

 

Thanks for any help

Scott


Viewing all articles
Browse latest Browse all 9859

Trending Articles



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