Just wanted to share (and also make a not to self as reminder) some PS commands I use when migrate the receive connectors remoteIP list on Exchange.
So, if we have a Receive Connector on an old Exchange Server named “OldExchange\Relay” and already created a “newExchange\relay” connector. Then we want to transfer the IP allowing to use that connector.
PS show only 16 ip addresses on default. therefore we must change this limit.
$RC = Get-ReceiveConnector “OldExchange\Relay”Set-ReceiveConnector “NewExchange\Relay” -RemoteIPRanges $RC.RemoteIpRanges