Skip to content

Update New-DlpComplianceRule.md #12761

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 21, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update New-DlpComplianceRule.md
  • Loading branch information
chrisda authored May 21, 2025
commit e20bb10f06b1d444f2b8dc60841660519a7dd044
16 changes: 8 additions & 8 deletions exchange/exchange-ps/exchange/New-DlpComplianceRule.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ New-DlpComplianceRule [-Name] <String> -Policy <PolicyIdParameter>
[-DocumentNameMatchesPatterns <MultiValuedProperty>]
[-DocumentNameMatchesWords <MultiValuedProperty>]
[-DocumentSizeOver <Microsoft.Exchange.Data.ByteQuantifiedSize>]
[-DomainCountOver <UInt32>]
[-EncryptRMSTemplate <RmsTemplateIdParameter>]
[-EndpointDlpBrowserRestrictions <PswsHashtable[]>]
[-EndpointDlpRestrictions <PswsHashtable[]>]
Expand Down Expand Up @@ -144,6 +145,7 @@ New-DlpComplianceRule [-Name] <String> -Policy <PolicyIdParameter>
[-Quarantine <Boolean>]
[-RecipientADAttributeContainsWords <PswsHashtable>]
[-RecipientADAttributeMatchesPatterns <PswsHashtable>]
[-RecipientCountOver <UInt32>]
[-RecipientDomainIs <MultiValuedProperty>]
[-RedirectMessageTo <RecipientIdParameter[]>]
[-RemoveHeader <MultiValuedProperty>]
Expand Down Expand Up @@ -960,13 +962,12 @@ Accept pipeline input: False
Accept wildcard characters: False
```
### -DomainCountOver
The DomainCountOver parameter specifies a condition for the DLP rule that looks for messages where the count of domains in the email is greater than the specified value.
The DomainCountOver parameter specifies a condition for the DLP rule that looks for messages where the number of recipient domains is greater than the specified value.


You can use this condition in DLP policies that are scoped only to Exchange. On the powershell you can use this parameter only inside the Advanced Rule.
You can use this condition in DLP policies that are scoped only to Exchange. In PowerShell, you can use this parameter only inside an Advanced Rule.

```yaml
Type: Microsoft.Exchange.Data.ByteQuantifiedSize
Type: UInt32
Parameter Sets: (All)
Aliases:
Applicable: Security & Compliance
Expand Down Expand Up @@ -3005,13 +3006,12 @@ Accept wildcard characters: False
```

### -RecipientCountOver
The RecipientCountOver parameter specifies a condition for the DLP rule that looks for messages where the count of recipients in the email is greater than the specified value. Note that only visible count is considered, which means if there is group with 100 users is present in the email it is considered as a single recipient.
The RecipientCountOver parameter specifies a condition for the DLP rule that looks for messages where the number of recipients is greater than the specified value. Groups are counted as one recipient.


You can use this condition in DLP policies that are scoped only to Exchange. On the powershell you can use this parameter only inside the Advanced Rule.
You can use this condition in DLP policies that are scoped only to Exchange. In PowerShell, you can use this parameter only inside an Advanced Rule.

```yaml
Type: Microsoft.Exchange.Data.ByteQuantifiedSize
Type: UInt32
Parameter Sets: (All)
Aliases:
Applicable: Security & Compliance
Expand Down