yesterday i got an request from user, he want to email the Output of the script. to full fill his requirement I twaeked the script a little bit.

The best of this script that, you can add all of your server which you want to monitor in to the script and schedule the to run after 3-4 hours or run after every 12 hours. So it will send you the email and then you can know
that which server is runiing which are not.