I'm back in action and converting some of my utility PowerCLI scripts to vCO again.
This time, I'm creating a workflow that will add a portgroup to vSwitch to all of the hosts in a cluster.
First off, create your schema using the getAllHostSystemsOfCluster workflow object, and a scriptable task
Next, create some inputs, I used: VLAN_ID, VLAN_Name and Switch_Name.
On your scriptable task, define your In Parameters
Drop some code in (generated with Onyx)
And there you have it!
the only thing is to make note of the:
prepend to




