Please take a look at the solution here:
Consider closing this thread out, since you do have multiple threads about the same question spawning in a few places.
=========================================================================
William Lam
VMware vExpert 2009
VMware ESX/ESXi scripts and resources at:
VMware Code Central - Scripts/Sample code for Developers and Administrators
![]()
If you find this information useful, please award points for "correct" or "helpful".