I am trying to get the connect-hvserver to connect to our 7.1 connection server and I’m having no luck. The following command will act like it is connecting but just times out. I have tried with FQDN, IP, and localhost, same results. I also increased the time out to 5 minutes and it still just times out.
I can log in to the connection server just fine and I can also log in to the view admin web page just fine.
Import-Module VMware.VimAutomation.HorizonView
Import-Module VMware.VimAutomation.Core
$hvServer=Connect-HVServer-server"view.domain.com"-User‘username@domain’-Password‘secret’
Also tried,
$hvServer=Connect-HVServer-server"view.domain.com"-User‘username’-Password‘secret’ -Domain ‘mydomain’
The debug log file on the connection server shows it is sending a query to LDAP for validation but nothing gets returned. What is difference in the way the web page processes the logon and PowerCLI?