July 2017
Intermediate to advanced
648 pages
31h 9m
English
We start off by getting the entire configuration of the receive connector we want to update and saving it into the $recCon variable. Then we update the RemoteIPRanges property of the receive connector (stored in the variable, not in the actual connector) and add our new IP addresses. Finally, we update the RemoteIPRanges property of the receive connector itself with the updated list of IPs stored in $recCon.RemoteIPRanges.
It is important to note the use of += to add the new IPs to the existing ones already configured. If we had used = instead, or if we had used the following code, all the existing IPs would have been deleted and the receive connector configured with only these three new IPs:
Set-ReceiveConnector "EX1\Relay" ...Read now
Unlock full access