PowerCLI-Example-Scripts
PowerCLI-Example-Scripts copied to clipboard
Connect-SsoAdminServer command failed
Describe the bug
Connect-SsoAdminServer -Server $server -User $username -Password $passwd Got error,
Connect-SsoAdminServer : One or more errors occurred. At line:1 char:1
- Connect-SsoAdminServer -Server $server -User $username -Password $pas ...
-
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Connect-SsoAdminServer
Reproduction steps
1. Connected to Vcenter server using without issue
Connect-VIServer -Server $server -user $username -password $passwd
2. try to connect-ssoadminserver failed
Connect-SsoAdminServer -Server $server -User $username -Password $passwd
3.
...
Expected behavior
should connect to ssoadminserver without error
Additional context
I have another system runing successfully verion 5.1.19041.1320 the PowerShell verion I have on issued machine is 5.1.18362.1801