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

getting virtual machines names_vRO

$
0
0

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.


Viewing all articles
Browse latest Browse all 6251

Trending Articles



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