Closed et1975 closed 2 years ago
Fixed in version 1.3.6. The new version is available on PSGallery
PS C:\Users\dmilov> $credential = Get-Credential -UserName administrator@vsphere.local
PowerShell credential request
Enter your credentials.
Password for user administrator@vsphere.local: ********
PS C:\Users\dmilov> Connect-SsoAdminServer -SkipCertificateCheck -Server 10.23.82.130 -Credential $credential
Name : 10.23.82.130
ServiceUri : https://10.23.82.130/sso-adminserver/sdk/vsphere.local
User : administrator@vsphere.local
Id : /SsoAdminServer=vsphere.local/administrator@10.23.82.130
IsConnected : True
Client : VMware.vSphere.SsoAdminClient.SsoAdminClient
RefCount : 1
It would be good if
Connect-SsoAdminServer
supported-Credential
in addition to username/password, this would also matchConnect-VIServer
.