PowerCLI: Snap reminder

From VI-Toolkit
Jump to navigation Jump to search

author: Alan Renouf

Description

Snapshots are a great feature for virtual machines, but leaving them open for a long time is unwanted for a number of reasons.

Alan has written a script here that checks your hosts for virtual machines which have open snapshots for more as 2 weeks. The scripts then finds out who created them and as extra bonus even automatically sends the offender an email based on the email address in their Active Directory subscription.


Location

http://www.virtu-al.net/2009/06/22/powercli-snapreminder/

Extended version by Steve Schofield:

http://www.iislogs.com/steveschofield/vmware-snapshot-reminder-script