Add remote IP address ranges to a receive connector

Description

Add remote IP address ranges to an Exchange Server 2013/2016 receive connector.

Create a new text file containing the new remote IP address ranges

Example:

192.168.1.1
192.168.2.10-192.168.2.20
192.168.3.0/24

The script creates a new subfolder named ReceiveConnectorIpAddresses and saves the currently configured remote IP address ranges first.

While adding the new remote IP address ranges, the script checks, if the new ranges already exist.

Examples

# Add IP addresses from ip.txt to MYCONNECTOR
Add-ReceiveConnectorIpAddress.ps1 -ConnectorName MYCONNECTOR -FileName 
D:Scriptsip.txt

Add-ReceiveConnectorIpAddress.ps1 -ConnectorName REMOTECONNECTOR -FileName .ip-new.txt -ViewEntireForest $true

Version History

  • 1.0, Initial community release
  • 1.4, Support Mailbox role added (Issue #4)

Links

Follow

%d Bloggern gefällt das: