RSS

Unable to Open Exchange Shell (EMS)

29 Aug

Today when I tried to Open EMS I got the follwoing Error:

New-PSSession : [XXXXXXXX] Connecting to remote server XXXXXXXXXX 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.
At line:1 char:1
+ New-PSSession -ConnectionURI “$connectionUri” -ConfigurationName Microsoft.Excha …
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (System.Manageme….RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin
gTransportException
+ FullyQualifiedErrorId : WinRMOperationTimeout,PSSessionOpenFailed

 

In such error I suggest to do the follwoing :

  1. Check the hostanme ,DNS reocrd is registerd for the server .
  2. Check if there is a 3rd party firewall software is installed ,if exist : you need to set exception .I prefer to use windows firewall instead becuase these exceptions are set during exchange installations.
  3. check IP address ,subnet and AD Site for the server.
  4. reconfigure WinRM :WinRM quickconfig
  5. check proxy setting ,make sure that the server URL should bypass proxy .you can use NETSH winhttp show proxy to view effective setting.or even you reset proxy setting NETSH winhttp reset proxy.

for my case today , No. 5 fix the problem 🙂

 

Advertisements
 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: