Getvmstree.py: Difference between revisions

From VI-Toolkit
Jump to navigation Jump to search
(Created page with "=== getvmstree.py === author: Timo Sugliani ==== Description ==== List all of the VMs in a tree similar to how it looks like in the Web client inventory. ==== Usage ==== ...")
 
(No difference)

Latest revision as of 09:58, 30 January 2014

getvmstree.py

author: Timo Sugliani

Description

List all of the VMs in a tree similar to how it looks like in the Web client inventory.

Usage

python getvmstree.py -s vcsa.myserver.local -u user -p password

Location

http://blog.tsugliani.fr/scripts-and-tips/pyvmomi-finally-vsphere-python-sdk/

and source is here:

https://github.com/tsugliani/pyvmomi/blob/master/sample/getvmstree.py