Use the task object to fetch the VM object