I am trying to get virtual mchinesnames using vRO.
created following workflow.
put following code in scriptable task
var virtualmachines = VcPlugin.getAllVirtualMachines();
for each (virtualmachine in virtualmachines);
{
System.log("virtualmachine :" + virtualmachine.name);
}
However it is giving me only one virtual machine name .
please suggest what is the issue.