Hello,
are you sure "vim-cmd vmsvc/getallvms" isn't what your looking for? On hosts with local storage it's my quick and dirty way to list all vms on the host (running & powered off). I never used it on cluster hosts with shared storage, but I tried it just a moment ago and it gave me all the vms registered on that host including the powered off ones.