Script to export IP Allow List for import on another Exchange 2007 server

Published 01-24-2007 12:59 PM 2,138 Views

Recent question I heard sounded really interesting:

Anyone know a way to add many addresses to the IP Allow List at one time versus one at a time? I have over 100 configured on one server that I want to add to another server.

I thought about it a bit and came up with a script for it. Copy the script to a ps1 file (e.g. export.ps1) and then run the script and pipe the output to another ps1 file. For example:

export.ps1 > ipallowblockentries.ps1

This will export IP Allow List and IP Block List entries that have not already expired along with their expiration time.

Then run ipallowblockentries.ps1 on the server where you want to add these entries.

That should do it!

The script itself is attached as the export.txt file below!

- Bhavin Shah

Not applicable
Bhavin Shah over on the MS Exchange Team blog ( ) has posted a a very useful-sounding
Not applicable
Not applicable
Not applicable
Not applicable
Not applicable
Palm Brings Microsoft's Direct Push Technology to Palm OS Based Treo Smartphones Microsoft Keeps the
Version history
Last update:
‎Jan 24 2007 12:59 PM
Updated by: