IP allow list
Hello,I just want to know how could I backup the IPs I have added in the IP allow list ??Thanks in advance.
October 13th, 2009 11:16am

You could use the Get-IPAllowListEntry cmdlet and export the results to a file, etc. Don't forget that, if this is on an Edge Transport server, you can also export the entire Edge configuration via the ExportEdgeConfig PowerShell script supplied with Exchange.Neil Hobson, Exchange MVP
Free Windows Admin Tool Kit Click here and download it now
October 13th, 2009 11:38am

thanks NeilTo export the Ip list to a file, Should I run Get-IPAllowListEntry | Export-Csv -Path c:\tmp\IPs.csv ??Once my IPlist is exported how do I restore the list if I need to?
October 13th, 2009 12:11pm

If you run the export command above, you'll get loads of extra data that you're probably not interested in like the expiration time, etc. Seeing as you're probably only interested in the actual IP addresses (which is the 'IPRange' field), you could run this command:Get-IPAllowListEntry | Select IPRange | Export-Csv c:\ips.csvTo import them in later, you could run the following commands:$IPList = Import-Csv c:\ips.csvForEach ($SingleIP in $IPList) {Add-IPAllowListEntry -IPRange $SingleIP.IPRange}Test in your lab though! :)Neil Hobson, Exchange MVP
Free Windows Admin Tool Kit Click here and download it now
October 13th, 2009 4:08pm

Perfect!! thanks a lot Neil :-D it answers completely my question!!
October 13th, 2009 4:15pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics