Some example code to use the pyVmomi library to manage VMware virtual machines - includes examples dealing with distributed switch.