ebenarroch's Posts

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 = g... See more...
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
Hello, We recently downloaded and installed PowerCLI 6.5 and 10 (the most recent) and have been trying to test the Horizon View API.  However, when trying the Connect-HVserver cmdlet we get t... See more...
Hello, We recently downloaded and installed PowerCLI 6.5 and 10 (the most recent) and have been trying to test the Horizon View API.  However, when trying the Connect-HVserver cmdlet we get the error below.  We are sure that the username/password/domain is correct since we are able to login to the HV admin panel without a problem  (also, if we force a wrong password to the command we get a 'wrong password' error).  Any suggestions are welcome! Connect-HVServer CONN-SERVER_FQDN -user USERNAME -password PASSWORD -domain DOMAIN 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 -user administrator -password **** - ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~     + CategoryInfo          : NotSpecified: (:) [Connect-HVServer], Exception     + FullyQualifiedErrorId : System.Exception,VMware.VimAutomation.HorizonView.Commands.Cmdlets.ConnectHVServer