So I have this project… :)
I thought it was time to release a script, or more an application since it got forms, that I have been working on. I bet many of you need to add and remove IP-addresses and ranges from the relay receive connectors in your environment to maintain some sort of security? Well there are scripts out there that one can use but they can be a bit tricky. So a while ago I decided to create a forms based one and make it easier.
More information and a download link can be found here, but I suggest that you read the entire post before running it.
It now supports both Exchange Server 2010 and 2013!
So what can you do with this tool? In short, you can edit all of your receive connectors at the same time either manually or using one of the receive connectors as a template.
This is just a normal PS1 file and you start it as a usual PowerShell script: .\RCIPRManager.ps1.
When the tool starts it gathers information on receive connectors and the ip range lists, no editing is done so there is no harm in starting the tool and checking it out. Its not until you click Save that any editing is done. When open, you can choose which receive connector to load ip ranges from, then add and remove rows as you wish. When done multiple target receive connectors can be selected and when you click Save the ip ranges listed will be written to the target receive connectors.
This is a beta, not everything will be working as intended even tough I have tested the tool quite thoroughly in a number of different environments. As usual the script is provided “AS IS” with no guarantees, no warranties, and they confer no rights.
Feel free to use the tool, share it and alter it. But please do not claim it as your own, be sure to include a reference to this blog and if you make any changes or fix any errors I would be very happy if you post them as a comment so that all of us can benefit from your findings and knowledge. Thanks in advance!
If you need any assistance just let me know and I will be happy to help!