What is the easiest way to find all snapshots older than a week and send out an email notification using Orchestrator?
Here is something a put together a while back. It may need some tweeking but may point you in the direction you want.
Hi VMinator,
there is a method called: VcPlugin.getAllVirtualMachineSnapshots() which returns you all available snapshots. Next step, loop through all this snapshots and check the snapshot.createTime if it is older than one week build a string with VM and snapshot information and send it per mail (Object: EmailMessage).
Best regards,
Chris
Okay thank you. Is there also a built-in workflow that can do the same thing?
Hi
Welcome to the communities.
you need to do little sttings.
https://www.vmware.com/support/orchestrator/doc/vco_vsphere41_api/html/VcVirtualMachineSnapshot.html
Christian - thanks for input
Jalapeno - thanks for Workflow...