script to shutdown guest & host ESXi

Vanit

n00b
Joined
Oct 26, 2010
Messages
1
Hi All,

We have to monitor the UPS form ESXi server and if power goes off or any event occurs, it should shutdown all guest VM running on that and then ESXi server also.

I installed VMware ESXi 4.0 server as host and different guest VM(Linux,Windows,Unix) on host.Now I want to shutdown all virtual machines which are running on server and then ESXi host.

So how can I do it.

Thanks in advance.
 
Back
Top