A pretty much default Exchange 2013 on-premises installation, with two CAS and two MBX servers, all of them running Windows Server 2012R2, Exchange updated to CU13. Using the default Exchange Management Shell, it always reports WSMan error when connecting to the server it's launched on, then it selects a sibling server and successfully establishes the connection. The error is as follows:
New-PSSession : [cas01.xxxxxxxxx] Connecting to remote server cas01.xxxxxxxxx failed
with the following error message : The WinRM client sent a request to an HTTP server and got
a response saying the requested HTTP URL was not available. This is usually returned by a
HTTP server that does not support the WS-Management protocol.
For more information, see the about_Remote_Troubleshooting Help topic.
The most weird thing is that if I run EMS on cas01, it tried to connect to cas01, fails, then tries connecting to cas02 and succeeds. If I run it from cas02, I get the reverse. There is a NLB IP address that both servers share, however that IP address does not resolve to either cas01 or cas02 names. Test-WSMan
cmdlet returns WSMan up and running. What else should I test to find out the source of this behavior?