CASE: I added a new Exchange Server CAS and needed to create a special Receive Connectors that has alot of IP Addresses like printers and other services.
Doing this manually is a pain in the ass! But with only a command we can accomplish this!
CAS1 Being the server that I will copy the Receive Connector and CAS2 the new server where I will create the same connector as on the CAS1:
New-ReceiveConnector "Special Servers" -Server CAS2 -Bindings 0.0.0.0:25 -RemoteIPRanges ( Get-ReceiveConnector "CAS1\Special Servers" ).RemoteIPRanges
Tags: Exchange Server