Tasklist.py

From VI-Toolkit
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

tasklist.py

author: Timo Sugliani

Description

Timo made a small script that utilized the pyvmomi and displays a list of the VMware vCenter recently run tasks.

Usage

Run the script as follows:

python tasklist.py -s vcenter.fqdn -u username -p password

Location

http://blog.tsugliani.fr/vsphere/pyvmomi-small-script-to-display-vmware-vcenter-recent-tasks/

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