
Set-ContentFilterConfig -BypassedSenderDomains $list $list = (Get-ContentFilterConfig).BypassedSenderDomains To add multiple domains to the Exchange trusted list (without overwriting current list entries), you can use the following PowerShell script: To avoid it, each time you have to add a new address/domain to this list, get the current white list of addresses, add a new one entry to it and upload it back to Exchange. Set-ContentFilterConfig -BypassedSenders main problem with using Set-ContentFilterConfig cmdlet is that each time it is runs, it completely overwrites (clears) the current whitelist of the safe senders.

To add a specific email address to the Content Filter whitelist, use the BypassedSenders parameter:
Set-ContentFilterConfig -BypassedSenderDomains , If you have to add several domains to the bypassedsender list at once, the command will look like this:
