Thank you for your suggestion jrodsguitar!
However, attempting this we got the same error... We tried with the $cred object to vCenter and it does work:
PS C:\Users\Administrator> $cred = get-credential
cmdlet Get-Credential at command pipeline position 1
Supply values for the following parameters:
Credential
PS C:\Users\Administrator> connect-HVserver CONN-SERVER-FQDN -Credential $cred
connect-HVserver : ExceptionType : VMware.Hv.InvalidDomainCredentials
ErrorMessage : Invalid credentials on domain svtlab.local (SVTLAB) for query
Id :
Domain : VMware.Hv.ADDomainId
NetbiosDomainName : SVTLAB
DnsDomainName : svtlab.local
At line:1 char:1
+ connect-HVserver view-orl.svtlab.local -Credential $cred
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Connect-HVServer], Exception
+ FullyQualifiedErrorId : System.Exception,VMware.VimAutomation.HorizonView.Commands.Cmdlets.ConnectHVServer
PS C:\Users\Administrator> connect-viserver VC-FQDN -Credential $cred
Name Port User
---- ---- ----
VC-FQDN 443 Domain\Administrator