Exchange 2010 remote PowerShell breaks after add/remove/change of IP Address

Something that occurs in a lab situation quite frequently and less in real life is changing IP addresses on your Exchange server. Some of my lab servers frequently undergo a scenario change where I’ll add or remove them from specific Hyper-V networks or subnets.

 

Then one day everything broke. EMS reported :

Connecting to remote server 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.

image

 

EMC reported a slightly different error:

The attempt to connect using “Kerberos” authentication failed, etc, etc however the message points to the fact that the WinRM URL isn’t where it’s expected to be.

image

 

Bearing in mind that we know that the machines IP addresses have changed a little, it makes sense to have a look at the IIS configuration.

Looking at the bindings of the default web site I can see that something is amiss, since the IP address reflected is the new IPadress of the new subnet I connected to, as opposed to the expect machine address, or even All Unassigned on the Default Site as I would expect.

image

I changed the bindings back to All Unassigned, and restarted the web site

image

 

EMS and EMC are back in business.

image

2 thoughts on “Exchange 2010 remote PowerShell breaks after add/remove/change of IP Address

  1. Great Nicolas. I faced same scenario as you but was not able to catch the point that someone changed the IP of the Exchange server as our lab is used by quite a few team players. This was unanswered in my mind quite a long time and finally you answered.
    Thanks.

    1. Hi Anand,
      Thanks you very much for the comment. It really makes my day to know that you’ve benefitted from the post!

      Nic

Comments are closed.