Copy Receive Connector Settings

I came across a particularly useful set of commands today while needing to enter a huge list of allowed IP’s for a receive connector in Exchange on multiple servers.  This comes in particularly handy when needing to copy allowed IP addresses from one connector to another (usually on multiple servers) for the purpose of say anonymous relaying.

$connector = Get-ReceiveConnector “ServerName\ConnectorName

Set-ReceiveConnector “ServerName\ConnectorName” –RemoteIPRanges $connector.RemoteIPRanges

Very simple set of commands used frequently in Powershell, just thought this one was particularly useful as we have additional addresses to add and subtract from anonymous relaying connectors on mutliple servers frequently.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s