Scripts
documentation
ESX Service Console
RTFM ESX 3.x Service Console Guide
VMware ESX 2.3 scripting API users manual
Xtravirt scripting papers about vimsh among others
ESX3i Remote CLI documentation
vmrun
Using vmrun one can automate ESX3.5/ESXi virtual machines as well as virtual machines on VMware Server 2.0
vmrun API guide but see also the VIX page for more details.
vmrun scripts
Scripts to execute to automate actions in your guest.
vmrun return all IPs for running VMs
bash scripts
build host vmware kernel modules
Customer my-vmware-cmd management script
locate all VMs with NPIV WWN for ESX
locate all VMs with NPIV WWN for ESXi