Exporting Recipient\Sender filtering lists

Today I needed to export the entries from the Recipient Filtering and Sender Filtering lists on a customers Edge environment. A quick scoure of the web and I found lots of scripts with broken download links. Anyway you can use the following commands to export your lists to a nice CSV 🙂

Get-SenderFilterConfig | select-object blockedsenders -expand blockedsenders | export-csv c:\senders.csv

Get-RecipientFilterConfig | select-object blockedrecipients -expand blockedrecipients | export-csv c:\recipients.csv

4 thoughts on “Exporting Recipient\Sender filtering lists

  1. Below is what worked for me:

    Get-SenderFilterConfig | select-Object BlockedSenders -expand blockedsenders | select-object local, domain > C:\ExportFolder\BlockedSenders.csv

    Import into Excel as fixed width and combine cells using the formula =(A1&” .”&B1)

    Get-SenderFilterConfig | select-Object BlockedSenders -expand blockeddomainsandsubdomains | select-object domain > C:\ExportFolder\BlockedDomains.csv

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s