en-US

RemoveExchangeLocation

Parameter of DlpCompliancePolicy

Applies to : Security & Compliance

Description

The RemoveExchangeLocation parameter removes email messages from the DLP policy if they're already included. The valid value for this parameter is All.

If the policy already includes email messages (in the output of the Get-DlpCompliancePolicy cmdlet, the ExchangeLocation property value is All), you can use -RemoveExchangeLocation All to prevent the policy from applying to email messages.

Microsoft Learn documentation

Characteristics

Type
MultiValuedProperty
Parameter sets
Identity

Apply

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