I've been working more often these days with EMS than I used to. The EMS I'm using is directly on the Exchange 2013 server but I'm plagued with a recurring issue.
I'm typically using EMS for 3 to 4 hours sending commands through when suddenly it needs to create a new session. When it attempts to get a new session, it throws an error.
**********************************************************
New-PSSession : [MyExServer.MyDomain.com] Connecting to remote server MyExServer.MyDomain.com failed with the following error message : WinRM cannot complete the operation. Verify that the specified computer name is valid, that the computer is accessible over the network, and that a firewall exception for the WinRM service is enabled and allows access from this computer. By default, the WinRM firewall exception for public profiles limits access to remote computers within the same local subnet. For more information, see the about_Remote_Troubleshooting Help topic.
**********************************************************
It tries to establish a new connection several times but eventually fails. I can close the EMS window the open a new one but it still fails to connect. If I wait several hours or even sometimes till the next day, it will connect again and I can work for 3-4 more hours until it fails again.
What would cause the connection to work OK for a while then suddenly stop? Am I overrunning some buffer or something?
Frustrated is an understatement.