Last updated: 2020-03-15




Description
This script copies a single receive connector from a source Exchange Server to a single target Exchange server or all other Exchange servers.
The primary purposes of this script are:
- Simplify migration of legacy Exchange receive connectors (Exchange 2007 or Exchange2010) to a modern Exchange server (Exchange 2013 or Exchange 2016)
- Simplify receive connector distribution across multiple Exchange servers (Exchange 2013, Exchange 2016, or Exchange 2019)
Find the most recent full documentation at GitHub.
Examples
Copy Exchange 2013/2016 receive connector RC2 from server MBX01 to server MBX2
.\Copy-ReceiveConnector.ps1 -SourceServer MBX01 -ConnectorName RC2 `-TargetServer MBX2 -DomainController MYDC1.mcsmemail.de
Copy Exchange 2013/2016 receive connector RC2 from server MBX01 to all other Exchange 2013 servers
.\Copy-ReceiveConnector.ps1 -SourceServer MBX01 -ConnectorName RC1 `-CopyToAllOther -DomainController MYDC1.mcsmemail.de
Copy Exchange 2013/2016 receive connector relay from Exchange 2007 server MBX2007 to Exchange 2013 server MBX01 and reset network bindings
.\Copy-ReceiveConnector.ps1 -SourceServer MBX2007 -ConnectorName "relay" `-TargetServer MBX01 -MoveToFrontend -ResetBindings `-DomainController MYDC1.mcsmemail.de
Version History
- 1.0, Initial community release
- 1.1 Domain Controller parameter added, permissions group copy added
- 1.2 Move to FrontendTransport added, optional permission copy added, reset bindings added
- 1.3 Update receive connector, if receive connector exists
- 1.4 Fix to handle connector updates properly
- 1.41 Minor fixes and update for Exchange 2016
- 1.5 Issue #2 fixed
- 1.6 Issue #3 fixed
- 1.7 Issue #6 fixed, new parameter UpdateExistingConnector added, tested with Exchange Server 2019
Links
- Download, and follow at Github: https://github.com/Apoc70/Copy-ReceiveConnector
Additional Credits
Additional credits go to Jeffery Land, https://jefferyland.wordpress.com