I am using a copy of VOrch workflow called : "Connect virtual machine NIC number to distributed virtual port group" to change the Network setting on a vm from standard to a distributed switch. I would like to automate the assigning of the dvPortGroup by doing a lookup and getting back a list of all available distributed port groups and then matching on a string to get the value I need to pass on to dvPortGroup input. Our distributed switches port groups have a specific naming convention "dvPG_*" I am new to vOrch and JavaScript, so any help would be very appreciated.
↧