en-US

EnableFileFilter

Parameter of MalwareFilterPolicy

Applies to : Exchange Online, Built-in security add-on for on-premises mailboxes

Description

This parameter is available only in the cloud-based service.

The EnableFileFilter parameter enables or disables the common attachments filter (also known as common attachment blocking). Valid values are:

  • $true: The common attachments filter is enabled. This value is the default.
  • $false: The common attachments filter is disabled.

You specify the file types using the FileTypes parameter.

You specify the action for detected files using the FileTypeAction parameter.

Microsoft Learn documentation

Characteristics

Type
Boolean
Parameter sets
(All)

Apply

Enter the name of the policy to change.