VMware Cloud Community
Zsoldier
Expert
Expert
Jump to solution

Is there a way to dynamically determine SSO server info from vCenter API's / PowerCLI?

Just started looking into this, but the idea is that SSO/PSC is on its own VM while vCenters and Web client are on seperate VM's.

Is there a way to see what SSO/PSC server that the vCenters are associated to?  I mainly want this information so I can record daily location of SSO/PSC in case it has problems preventing me from logging into vCenter.

Addingalanrenouf  and LucD for attention.

Working 5.5 specifically.

Message was edited by: Chris Nakagaki

Chris Nakagaki (中垣浩一)
Blog: https://tech.zsoldier.com
Twitter: @zsoldier
0 Kudos
1 Solution

Accepted Solutions
Zsoldier
Expert
Expert
Jump to solution

Figured this out.

Basically it's this:

($Global:DefaultVIServer | Get-AdvancedSetting | where-object {$_Name -match "config.vpxd.sso.admin.uri"}).value

If you are a connected to more than one vCenter via the Connect-VIServer cmdlet, then it'll be slightly different.

Chris Nakagaki (中垣浩一)
Blog: https://tech.zsoldier.com
Twitter: @zsoldier

View solution in original post

0 Kudos
1 Reply
Zsoldier
Expert
Expert
Jump to solution

Figured this out.

Basically it's this:

($Global:DefaultVIServer | Get-AdvancedSetting | where-object {$_Name -match "config.vpxd.sso.admin.uri"}).value

If you are a connected to more than one vCenter via the Connect-VIServer cmdlet, then it'll be slightly different.

Chris Nakagaki (中垣浩一)
Blog: https://tech.zsoldier.com
Twitter: @zsoldier
0 Kudos