Search code examples
pythonvmwarepyvmomi

Get current tasks of VirtualMachine with pyvmomi


I'm trying to get all the current tasks of a VirtualMachine and check if they are all 'Completed' before continuing.

Using python2.7 on vmware 6.0


Solution

  • Figured it out. You can use recentTask. Doc here