VMware Horizon Community
JAG1117
Contributor
Contributor

View PowerCLi error when connecting to connection server.

When using trying to connect to connection server I get the following error. I've searched and searched and can't figure this one out. Firewall is off and proxy has been disabled. Horizon view 7.0

Connect-VIServer : 10/15/2017 5:33:41 PM        Connect-VIServer                Could not connect using the requested protocol.

Additional Information: The remote server returned an unexpected response: (405) Method Not Allowed.

At line:1 char:1

+ Connect-VIServer vdiconnect.mydomain.com

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : OpenError: (:) [Connect-VIServer], ViServerConnectionException

    + FullyQualifiedErrorId : Client20_ConnectivityServiceImpl_Reconnect_ProtocolError,VMware.VimAutomation.ViCore.Cmd

   lets.Commands.ConnectVIServer

Message was edited by: Joey Garza

1 Reply
daphnissov
Immortal
Immortal

If you're trying to connect to the View Connection server, the cmdlet is Connect-HVServer and not Connect-VIServer.