after fetching the VMs , you may need to filter using getGuest() and looking at the info
Register_VMTask() works on a host system but how can we do the same for a cluster? In the documentation of vijava, they have mentioned "omit the paramnter" but it throws error if i omit the HostSystem parameter.