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
Figured it out. You can use recentTask. Doc here