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

How to pass inputs to Powershell script and output to another nested workflow?

$
0
0

Hello,

     I have developed a Powershell script that queries an MS IPAM server for the next available IP address in a predefined IP range set in IPAM, as well as sets forward and reverse DNS records for a new VM clone. The Powershell script requires a hostname input and outputs the IP new address. I am using the built-in "Clone, Linux with multiple NICS" workflow and would like to use the PS script to dynamically add the string for the IP address parameter. How can I pass the "clientName" parameter of the "Get Linux Customization" nested workflow in vCO to the Powershell script, then pass the output (the IP address) of the Powershell script to the "nic1IpAddress" parameter in the "GetNic1SettingMap" nested workflow. I am new to the Powershell plugin (and have a "hop" PS host set up correctly), and am having trouble finding helpful documentation for this procedure. Thanks!


Viewing all articles
Browse latest Browse all 6251

Trending Articles



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