How to move Exchange relays using a script

Is there a way to capture Exchange relays on one server and re-apply that config on a new Exchange server using a script? The old server is Exchange 2007 and moving to Exchange 2013 with a final destination of Exchange 2016.
Who is Participating?
Todd NelsonConnect With a Mentor Systems EngineerCommented:
Yes, it is a somewhat manual process.  That way you aren't migrating all receive connectors to the new server ... just the ones you want/need.

You don't need to follow the whole article as it describes how to view (in detail) an existing connector.

It is essentially 3 commands you need to run ... the ones in the "CREATE CONNECTOR AND ADD REMOTE IP ADDRESSES" section.  But you really only need to provide a name for the new connector and the name of the old connector you want migrated.
Todd NelsonSystems EngineerCommented:
If you are asking about how to "migrate" a receive connector that has been configured for relay to a new server, take a look at this...
NtHawk101Author Commented:
That's pretty close and may just have to work but was hoping for a script that could be modified appropriately and then run. These steps, while appearing to accomplish the job, require manual intervention during the process. Is there a way to script this out?
NtHawk101Author Commented:
While not exactly the solution I was looking for, it does do the job.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.