Monitoring vSphere folder inventories
Backups in my work environment are done on the folder level through Veeam (excellent product), and sometimes virtual machines are moved around and get loosed from backups without us noticing. This little script monitors the folder and alerts on any changes when combined with Task Scheduler.
A few things:
- Make sure the account you run it under can send email
- Make sure the account has vSphere read permissions
Enjoy.