There's more

You can find many useful scripts based on the pyvmomi bindings (in different languages) in the official VMware repository at GitHub (https://github.com/vmware/pyvmomi-community-samples/tree/master/samples). The scripts are provided by numerous contributors who use the tools and test them on a daily basis. Most of the scripts provide room to enter your configuration (such as ESXi IP address and credentials) without modifying the script source code by providing it as arguments.

Get Hands-On Enterprise Automation with Python. now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.