Skip to content

Commit c978b12

Browse files
committed
New/Set consistency
1 parent 3e76821 commit c978b12

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

exchange/exchange-ps/exchange/New-DlpComplianceRule.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ New-DlpComplianceRule [-Name] <String> -Policy <PolicyIdParameter>
8181
[-ExceptIfHeaderContainsWords <PswsHashtable>]
8282
[-ExceptIfHeaderMatchesPatterns <PswsHashtable>]
8383
[-ExceptIfMessageSizeOver <Microsoft.Exchange.Data.ByteQuantifiedSize>]
84-
[-ExceptIfMessageTypeMatches <MessageTypes>]
84+
[-ExceptIfMessageTypeMatches <Microsoft.Office.CompliancePolicy.PolicyEvaluation.MessageTypes>]
8585
[-ExceptIfProcessingLimitExceeded <Boolean>]
8686
[-ExceptIfRecipientADAttributeContainsWords <PswsHashtable>]
8787
[-ExceptIfRecipientADAttributeMatchesPatterns <PswsHashtable>]
@@ -1502,7 +1502,7 @@ The ExceptIfMessageTypeMatches parameter specifies an exception for the rule tha
15021502
You can use this exception in DLP policies that are scoped only to Exchange.
15031503

15041504
```yaml
1505-
Type: MessageTypes
1505+
Type: Microsoft.Office.CompliancePolicy.PolicyEvaluation.MessageTypes
15061506
Parameter Sets: (All)
15071507
Aliases:
15081508
Applicable: Security & Compliance

exchange/exchange-ps/exchange/Set-DlpComplianceRule.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2211,7 +2211,15 @@ Accept wildcard characters: False
22112211
```
22122212

22132213
### -ModifySubject
2214-
{{ Fill ModifySubject Description }}
2214+
The ModifySubject parameter uses regular expressions to find text patterns in the subject of the email message, and then modifies the subject with the text that you specify. This parameter uses the syntax: `@{Patterns="RegEx1","RegEx2",..."RegEx10}"; SubjectText="Replacement Text"; ReplaceStrategy="Value"}`.
2215+
2216+
The `ReplaceStrategy=` property uses one of the following values:
2217+
2218+
- Replace: Replaces all regular expression matches (the `Patterns=` value) in the subject with the `SubjectText=` value.
2219+
- Append: Removes all regular expression matches (the `Patterns=` value) in the subject and inserts the `SubjectText=` value at the end of the subject.
2220+
- Prepend: Removes all regular expression matches (the `Patterns=` value) and inserts the `SubjectText=` value at the beginning of the subject.
2221+
2222+
The maximum individual regular expression length is 128 characters. The maximum number of regular expressions is 10.
22152223

22162224
```yaml
22172225
Type: PswsHashtable

0 commit comments

Comments
 (0)