Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 252940

Re: View Virtual Machine Specs with Orchestrator

$
0
0

OK got it:

 

 

System.log("VM: " + vms);
Server.log("VM: " + vms);

vm = vms.shift(); // Returns the first item within the vms array

System.log("VM: " + vm.name);
Server.log("VM: " + vm.name);

 

cpuCount = vm.summary.config.numCpu;
memoryMB = vm.summary.config.memorySizeMB;

 

Results in screen

 

cpuCount and memory MB retrieved

 

 

THANKS FOR YOU HELP


Viewing all articles
Browse latest Browse all 252940

Trending Articles



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