From 4c3acacf66cb142a61208c4b8786590e20d410fb Mon Sep 17 00:00:00 2001 From: ybhargav1995 <102363816+ybhargav1995@users.noreply.github.com> Date: Wed, 21 May 2025 17:24:10 +0530 Subject: [PATCH 1/5] Update Set-DlpComplianceRule.md --- .../exchange/Set-DlpComplianceRule.md | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/exchange/exchange-ps/exchange/Set-DlpComplianceRule.md b/exchange/exchange-ps/exchange/Set-DlpComplianceRule.md index 540e344814..2d83260b55 100644 --- a/exchange/exchange-ps/exchange/Set-DlpComplianceRule.md +++ b/exchange/exchange-ps/exchange/Set-DlpComplianceRule.md @@ -863,6 +863,25 @@ 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. + + +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. + +```yaml +Type: Microsoft.Exchange.Data.ByteQuantifiedSize +Parameter Sets: (All) +Aliases: +Applicable: Security & Compliance + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -EncryptRMSTemplate The EncryptRMSTemplate parameter specifies an action for the DLP rule that applies rights management service (RMS) templates to files. You identify the RMS template by name. If the name contains spaces, enclose the name in quotation marks ("). @@ -2857,6 +2876,24 @@ Parameter Sets: (All) Aliases: Applicable: Security & Compliance +Required: False +Position: Named +Default value: None +Accept pipeline input: False +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. + + +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. + +```yaml +Type: Microsoft.Exchange.Data.ByteQuantifiedSize +Parameter Sets: (All) +Aliases: +Applicable: Security & Compliance + Required: False Position: Named Default value: None From 31b0c4fc72e6caa2b4899cd5809b44f27b69e4b0 Mon Sep 17 00:00:00 2001 From: ybhargav1995 <102363816+ybhargav1995@users.noreply.github.com> Date: Wed, 21 May 2025 17:24:11 +0530 Subject: [PATCH 2/5] Update New-DlpComplianceRule.md --- .../exchange/New-DlpComplianceRule.md | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/exchange/exchange-ps/exchange/New-DlpComplianceRule.md b/exchange/exchange-ps/exchange/New-DlpComplianceRule.md index d0a651c737..3ec70f54fb 100644 --- a/exchange/exchange-ps/exchange/New-DlpComplianceRule.md +++ b/exchange/exchange-ps/exchange/New-DlpComplianceRule.md @@ -959,7 +959,24 @@ Default value: None 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. + +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. + +```yaml +Type: Microsoft.Exchange.Data.ByteQuantifiedSize +Parameter Sets: (All) +Aliases: +Applicable: Security & Compliance + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` ### -EncryptRMSTemplate The EncryptRMSTemplate parameter specifies an action for the DLP rule that applies rights management service (RMS) templates to files. You identify the RMS template by name. If the name contains spaces, enclose the name in quotation marks ("). @@ -2987,6 +3004,25 @@ Accept pipeline input: False 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. + + +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. + +```yaml +Type: Microsoft.Exchange.Data.ByteQuantifiedSize +Parameter Sets: (All) +Aliases: +Applicable: Security & Compliance + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -RecipientDomainIs The RecipientDomainIs parameter specifies a condition for the DLP rule that looks for recipients with email addresses in the specified domains. You can specify multiple domains separated by commas. From e20bb10f06b1d444f2b8dc60841660519a7dd044 Mon Sep 17 00:00:00 2001 From: Chris Davis Date: Wed, 21 May 2025 09:07:19 -0700 Subject: [PATCH 3/5] Update New-DlpComplianceRule.md --- .../exchange/New-DlpComplianceRule.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/exchange/exchange-ps/exchange/New-DlpComplianceRule.md b/exchange/exchange-ps/exchange/New-DlpComplianceRule.md index 3ec70f54fb..e8be39fdba 100644 --- a/exchange/exchange-ps/exchange/New-DlpComplianceRule.md +++ b/exchange/exchange-ps/exchange/New-DlpComplianceRule.md @@ -53,6 +53,7 @@ New-DlpComplianceRule [-Name] -Policy [-DocumentNameMatchesPatterns ] [-DocumentNameMatchesWords ] [-DocumentSizeOver ] + [-DomainCountOver ] [-EncryptRMSTemplate ] [-EndpointDlpBrowserRestrictions ] [-EndpointDlpRestrictions ] @@ -144,6 +145,7 @@ New-DlpComplianceRule [-Name] -Policy [-Quarantine ] [-RecipientADAttributeContainsWords ] [-RecipientADAttributeMatchesPatterns ] + [-RecipientCountOver ] [-RecipientDomainIs ] [-RedirectMessageTo ] [-RemoveHeader ] @@ -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 @@ -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 From 4636c285f3d1fba7d324ddd7b76bd18ff290f3dc Mon Sep 17 00:00:00 2001 From: Chris Davis Date: Wed, 21 May 2025 09:11:55 -0700 Subject: [PATCH 4/5] Update Set-DlpComplianceRule.md --- .../exchange/Set-DlpComplianceRule.md | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/exchange/exchange-ps/exchange/Set-DlpComplianceRule.md b/exchange/exchange-ps/exchange/Set-DlpComplianceRule.md index 2d83260b55..f9f28cf19f 100644 --- a/exchange/exchange-ps/exchange/Set-DlpComplianceRule.md +++ b/exchange/exchange-ps/exchange/Set-DlpComplianceRule.md @@ -53,6 +53,7 @@ Set-DlpComplianceRule [-Identity] [-DocumentNameMatchesPatterns ] [-DocumentNameMatchesWords ] [-DocumentSizeOver ] + [-DomainCountOver ] [-EncryptRMSTemplate ] [-EndpointDlpBrowserRestrictions ] [-EndpointDlpRestrictions ] @@ -143,6 +144,7 @@ Set-DlpComplianceRule [-Identity] [-Quarantine ] [-RecipientADAttributeContainsWords ] [-RecipientADAttributeMatchesPatterns ] + [-RecipientCountOver ] [-RecipientDomainIs ] [-RedirectMessageTo ] [-RemoveHeader ] @@ -864,17 +866,15 @@ 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 - Required: False Position: Named Default value: None @@ -2883,17 +2883,15 @@ Accept pipeline input: False 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 - Required: False Position: Named Default value: None From 95c491ab9b69e8aadae9f522b7c4ef619426f61b Mon Sep 17 00:00:00 2001 From: Chris Davis Date: Wed, 21 May 2025 09:14:15 -0700 Subject: [PATCH 5/5] Update Set-DlpComplianceRule.md --- exchange/exchange-ps/exchange/Set-DlpComplianceRule.md | 1 + 1 file changed, 1 insertion(+) diff --git a/exchange/exchange-ps/exchange/Set-DlpComplianceRule.md b/exchange/exchange-ps/exchange/Set-DlpComplianceRule.md index f9f28cf19f..942d076ddc 100644 --- a/exchange/exchange-ps/exchange/Set-DlpComplianceRule.md +++ b/exchange/exchange-ps/exchange/Set-DlpComplianceRule.md @@ -2882,6 +2882,7 @@ Default value: None Accept pipeline input: False Accept wildcard characters: False ``` + ### -RecipientCountOver 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.