So I've created a bunch of VMs using Linked Clones with PowerCLI (no View). That works great. I want a way to list the VMs that are tied to a particular snapshot on a particular replica. I found code that will let me check if particular VM is a linked clone and what replica VM it is based on but I can't figure out how to go the other direction. From the replica to it snapshots to the VMs that are linked to that snapshot.
Any idea on where to start?
Thanks,
Have a look at Listing all linked clones on your vCenter Server
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Right, that's the code that will let me check if particular VM is a linked clone. Having to chew through hundreds of VMs to find a hand full that are associated to a particular replica sounds very inefficient. I was hoping there was some property of some variable on the replica's end I could query. If this is all I have to work with then so be it.
Thanks.