Find snapshots and send email to user/users

Version 5

     

    We have had some issues where VCB doesn't clean up after itself everytime it runs so I wrote a quick script that will query all the VM's for current snapshots left over and send an email to me with the name of the VM, Snapshot Name,  Description,Date of Creation and Host it is running on.

     

     

    Follow the comments in the script and change the variables where needed to suit your environment.