VMware Cloud Community
TheVMinator
Expert
Expert
Jump to solution

Get-ssoserver

If I have an SSO server that is on a different VM than my vCenter Server, how can I get the hostname of the SSO server that the vCenter I am connected to is using?

0 Kudos
1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

Try something like this (while connected to the vCenter)

$ssoUri = Get-AdvancedSetting -Entity $global:DefaultVIServers[0].Name -Name config.vpxd.sso.sts.uri

$ssoUri.Value.split('/')[2]


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

View solution in original post

3 Replies
LucD
Leadership
Leadership
Jump to solution

Try something like this (while connected to the vCenter)

$ssoUri = Get-AdvancedSetting -Entity $global:DefaultVIServers[0].Name -Name config.vpxd.sso.sts.uri

$ssoUri.Value.split('/')[2]


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

TheVMinator
Expert
Expert
Jump to solution

great thanks!

0 Kudos
TheVMinator
Expert
Expert
Jump to solution

your answer was correct - sorry - thanks again

0 Kudos