Tasklist.py

From VI-Toolkit
Jump to navigation Jump to search

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