Quantcast
Channel: VMware Communities : Popular Discussions - vCloud Director PowerCLI
Viewing all articles
Browse latest Browse all 13334

Reverse lookup - Get-VM to Get-CIVM possible?

$
0
0

Hi all,

I know that it's possible to go from vCloud Director to vSphere simply with:

Get-CIVM | Get-VM

But I am looping through VMs from the vCenter side, and need to lookup the VM's vApp, owner etc. if it's a vCloud Director VM.

I.e. reverse of the above:

Get-VM | Get-CIVM  #does not work!

Can someone please point me in the right direction how to do this?  I'm running vCloud Director 9.0 and 5.5.  I can generate a list of all the vCloud VMs along with their vApp, owner etc. and then use this as a lookup, but is there a better/faster way?

Thanks!

Khare


Viewing all articles
Browse latest Browse all 13334

Trending Articles