Is there a way to query the datastore to get the path to the VM in the following format?
Mydatacenter.datacenter\Myfolder.folder\Mycluster.cluster\MyVM.vm
thanks in advance