a_p_
Leadership
Leadership

Since you're asking for a script, I've moved the discussion from VMware vSphere™ to VMware PowerCLI