VMware Cloud Community
TheVMinator
Expert
Expert
Jump to solution

Getting information from linked vCenters in a linked mode configuration

I am running get-vm against the vCenter I am connected to.  However this vCenter is in linked mode with a few other vCenters.

How can I run

get-vm

in such a way that it returns all vms from all vcenters in linked mode with the one I am currently connected to?

Thanks!

0 Kudos
1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

The easiest way would be to use the AllLinked switch on the Connect-VIServer cmdlet.

This requires to run in "multiple" mode.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

View solution in original post

0 Kudos
2 Replies
LucD
Leadership
Leadership
Jump to solution

The easiest way would be to use the AllLinked switch on the Connect-VIServer cmdlet.

This requires to run in "multiple" mode.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
TheVMinator
Expert
Expert
Jump to solution

ok great thanks

0 Kudos