Enable or Disable Content Filtering for Internal and External Messages

Cc526535.chm_head_left(en-us,TechNet.10).gif Cc526535.chm_head_middle(en-us,TechNet.10).gif Cc526535.chm_head_right(en-us,TechNet.10).gif

Enable or Disable Content Filtering for Internal and External Messages

By default, the Content Filter agent is enabled for external messages. The following procedures demonstrate how to enable or disable content filtering for internal and external messages by using the Exchange Management Shell. You cannot use the Exchange Management Console to enable or disable content filtering for internal or external messages.

To use the Exchange Management Shell to enable or disable the Content Filter agent for external messages:

  • To enable the Content Filter agent for external messages, run the following command: <pre IsFakePre="true" xmlns="https://www.w3.org/1999/xhtml">Set-ContentFilterConfig -ExternalMailEnabled $true</pre>
  • To disable the Content Filter agent for external messages, run the following command: <pre IsFakePre="true" xmlns="https://www.w3.org/1999/xhtml">Set-ContentFilterConfig -ExternalMailEnabled $false</pre>

To use the Exchange Management Shell to enable or disable the Content Filter agent for internal messages:

  • To enable the Content Filter agent for internal messages, run the following command: <pre IsFakePre="true" xmlns="https://www.w3.org/1999/xhtml">Set-ContentFilterConfig -InternalMailEnabled $true</pre>
  • To disable the Content Filter agent for internal messages, run the following command: <pre IsFakePre="true" xmlns="https://www.w3.org/1999/xhtml">Set-ContentFilterConfig -InternalMailEnabled $false</pre>