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

VMSnapshot Age VCO Workflow

$
0
0

I am trying to delete snapshots of a certain age within a certain folder via a VCO workflow. I have looked at the workflow that comes standard with the library and a couple other examples. The issue with those is that they loop through every snapshot of every VM in every folder. In my environment that is literally thousands of snapshots (snapshots are being used incorrectly in this environment - but that is another story for another forum) and it takes a significant amount of time to get through the loops. My workflow currently runs through all VMs in a specifc VC:VMFolder and retrieves all VC:VirtualMachineSnapshot object for each VM. I need a way to find the age of the specific VC:VirtualMachineSnapshot. Is there an easier/faster way of doing this rather than brute force through every snapshot in the system?


var created = thisSnapshot.creationTime();?? would be great.

 

Thanks all.


Viewing all articles
Browse latest Browse all 6251

Trending Articles



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