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

VirtualMachineSnapshotTree Object

$
0
0

Trying to create a work flow to report all VM Snapshots, size and age (number of days)

Can someone advise how to use VirtualMachineSnapshotTree Object in my work flow, to get the creation time?

 

Tried below, but it didn't work..

 

var vms = VcPlugin.getAllVirtualMachines();

For (i in vms) {

var vms = vms[i];

System.log(vm.VcVirtualMachineSnapshotTree.creationTime);


Viewing all articles
Browse latest Browse all 229687

Trending Articles



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