i am doing , something like that:
$vm = get-vm -name test_001-xjzG
$vm.ExtensionData.MoRef.value
vm-194945
get-civm | where-object {$_.Extensiondata.vCloudExtension.any.VmVimObjectRef.Moref -eq "vm-194945"}
but take ages!
any idea , clues?
the final idea is , in a case of a esxi host crash , make a list of the vcloud vms and orgs/vdcs affected.
thanks in advance.