
Adding Senders or Recipients to an Existing Content Filter Configuration
When you add new senders or recipients to an existing content filter configuration by using the procedures in this topic, existing senders or recipients in the content filter configuration are replaced with the new data.
To append senders or recipients to an existing configuration, you can create a variable in which to store the existing data. After you create the variable, you can then add data to the configuration. In the following example, the variable is $list.
This example shows how to add a sender to the BypassedSender property of the content filter configuration. You can replace the BypassedSender parameter in this example with the BypassedSenderDomain parameter or BypassedRecipients parameter to add data to other existing properties on the content filter configuration.

To use the Exchange Management Shell to add a sender to the BypassedSender list on the content filter configuration
-
To create a variable to hold the BypassedSenders list, run the following command:
$list = (Get-ContentFilterConfig).BypassedSenders
-
To verify that the $list variable contains data, run the following command:
The Exchange Management Shell will return a formatted list of sender SMTP addresses.
-
To add entries to the $list variable, run the following command:
$list.add("kwekua@contoso.com,tiffany@contoso.com")