Welcome to the Community - Does this help http://pubs.vmware.com/vsphere-51/topic/com.vmware.ICbase/PDF/vsphere-esxi-vcenter-server-51-command-line-interface-solutions-and-examples-guide.pdf
I have also moved this question to a more approroiate forum