vSphere Email alerting

In the past i was always modifying every alert with email notification. this takes a lot of time to do. So i went to look on the internet and few smart people out there already wrote this script!

so I want to thank these people for there help and knowledge: Lauren Malhoit and Mehdi Kianpour

The script that you can download here, is for vSphere 5.5. So keep in mind that you need other script if you are running vSphere 5.0 or 5.1 or vSphere 4.1

Remark:

The script ran with errors but kept going in most of my environments, but it modified all my alarms i set in the script