en-US

MakeDefault

Parameter of HostedContentFilterPolicy

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

Description

The MakeDefault switch makes the specified spam filter policy the default spam filter policy. You don't need to specify a value with this switch.

The default spam filter policy is applied to everyone (no corresponding spam filter rule), can't be renamed, and has the unmodifiable priority value Lowest (the default policy is always applied last).

Microsoft Learn documentation

Characteristics

Type
SwitchParameter
Parameter sets
(All)

Apply

This value type (SwitchParameter) must be built by hand: see the examples on the policy page and the Microsoft documentation.