VMware Cloud Community
cmjellis
Enthusiast
Enthusiast
Jump to solution

How to determine which viservers I am connected to ? ?

I log into 2 viServers via the connect-viserver command and succesfully connect

We are running powercli verstion 5.1 release 1 build 793510

Once logged in my prompt is PowerCLI C:\>

Because one has the potential of logging onto more than one viServer, how do I determine which vi servers I am connected to, In earlier releast the viServer one was conected to would be displayed in the Menu Bar.

The command $defaultviServer will only display the last connection.

Is there a way to display the viServers one is connected to in the menu bar of the powercli release 5.1 ?

Reply
0 Kudos
1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

Check $global:defaultviservers


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

View solution in original post

Reply
0 Kudos
3 Replies
LucD
Leadership
Leadership
Jump to solution

Check $global:defaultviservers


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

Reply
0 Kudos
cmjellis
Enthusiast
Enthusiast
Jump to solution

Can I incorporate this into the menu bar ?  As stated in ealier release it would be displayed in the menu bar

Reply
0 Kudos
LucD
Leadership
Leadership
Jump to solution

Reply
0 Kudos