Skip to main content

Cloud

(Get,Add,Remove)IPAllowListEntry

I had occasion to need to allow a set of servers to send email into our environment adding them to allow lists. In Exchange 2007 this is done through the EMS (Exchange Management Shell) with the cmdlets of Get-IPAllowListEntry, Add-IPAllowListEntry and Remove-IPAllowListEntry.
Obviously Get shows you the current list. Add obviosly adds and remove removes, remove does this based on the identity of the entry, this is an automatically incrementing number that is assigned with an entry is created.
Format for Add is
Add-IPAllowListEntry -IPRange <IPRange> [-ExpirationTime <DateTime>]

Or
Add-IPAllowListEntry -IPAddress <IPAddress> [-ExpirationTime <DateTime>]

The date is optional on each entry and the format for -IPRange is either CIDR IP or an IP Range of the format x.x.x.x-x.x.x.x
Hope this helps those of you that need to make these changes.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Aaron Steele

More from this Author

Follow Us