lucasbernadsky
Hot Shot
Hot Shot

Connect to all linked vCenter Servers with only one Connect-ViServer from PowerCLI

Jump to solution

Hi Community.

In our company we have multiple vCenters linked with Enhaced Linked Mode, and every time I need to run a PowerCLI script globally, I need to manually connect to every single one of the vCenter Servers.

Is there any way of automatically connecting to every linked vCenter Server?

Thanks!

0 Kudos
1 Solution

Accepted Solutions
ryanrpatel
Enthusiast
Enthusiast

Just do this:

Connect-VIServer SERVER -AllLinked

View solution in original post

0 Kudos
3 Replies
Nawals
Expert
Expert

Hi,

this link may help you. Running a PowerCLI script against multiple vCenters at the same time

NKS Please Mark Helpful/correct if my answer resolve your query.
0 Kudos
ryanrpatel
Enthusiast
Enthusiast

Just do this:

Connect-VIServer SERVER -AllLinked

View solution in original post

0 Kudos
scott28tt
VMware Employee
VMware Employee

Moderator: Thread moved to the PowerCLI area.

0 Kudos