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?
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
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
great thanks!
your answer was correct - sorry - thanks again