Skip to content

Commit 1247078

Browse files
committed
Added missing params
1 parent 08216e9 commit 1247078

File tree

3 files changed

+255
-0
lines changed

3 files changed

+255
-0
lines changed

exchange/exchange-ps/exchange/New-DlpCompliancePolicy.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ For information about the parameter sets in the Syntax section below, see [Excha
2222

2323
```
2424
New-DlpCompliancePolicy [-Name] <String>
25+
[-AlertProperties <PswsHashtable>]
2526
[-Comment <String>]
2627
[-Confirm]
2728
[-EndpointDlpLocation <MultiValuedProperty>]

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

Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ New-DlpComplianceRule [-Name] <String> -Policy <PolicyIdParameter>
2525
[-AccessScope <AccessScope>]
2626
[-ActivationDate <DateTime>]
2727
[-AddRecipients <PswsHashtable>]
28+
[-AlertProperties <PswsHashtable>]
2829
[-AnyOfRecipientAddressContainsWords <MultiValuedProperty>]
2930
[-AnyOfRecipientAddressMatchesPatterns <MultiValuedProperty>]
3031
[-ApplyHtmlDisclaimer <PswsHashtable>]
@@ -59,6 +60,7 @@ New-DlpComplianceRule [-Name] <String> -Policy <PolicyIdParameter>
5960
[-ExceptIfFrom <RecipientIdParameter[]>]
6061
[-ExceptIfFromAddressContainsWords <MultiValuedProperty>]
6162
[-ExceptIfFromAddressMatchesPatterns <MultiValuedProperty>]
63+
[-ExceptIfFromMemberOf <SmtpAddress[]>]
6264
[-ExceptIfFromScope <FromScope>]
6365
[-ExceptIfHasSenderOverride <Boolean>]
6466
[-ExceptIfHeaderContainsWords <PswsHashtable>]
@@ -74,6 +76,7 @@ New-DlpComplianceRule [-Name] <String> -Policy <PolicyIdParameter>
7476
[-ExceptIfSubjectMatchesPatterns <MultiValuedProperty>]
7577
[-ExceptIfSubjectOrBodyContainsWords <MultiValuedProperty>]
7678
[-ExceptIfSubjectOrBodyMatchesPatterns <MultiValuedProperty>]
79+
[-ExceptIfUnscannableDocumentExtensionIs <MultiValuedProperty>]
7780
[-ExceptIfWithImportance <WithImportance>]
7881
[-ExpiryDate <DateTime>]
7982
[-From <RecipientIdParameter[]>]
@@ -91,10 +94,12 @@ New-DlpComplianceRule [-Name] <String> -Policy <PolicyIdParameter>
9194
[-MessageTypeMatches <Microsoft.Office.CompliancePolicy.PolicyEvaluation.MessageTypes>]
9295
[-Moderate <PswsHashtable>]
9396
[-NotifyAllowOverride <OverrideOption[]>]
97+
[-NotifyEmailCustomSubject <String>]
9498
[-NotifyEmailCustomText <String>]
9599
[-NotifyPolicyTipCustomText <String>]
96100
[-NotifyPolicyTipCustomTextTranslations <MultiValuedProperty>]
97101
[-NotifyUser <MultiValuedProperty>]
102+
[-OnPremisesScannerDlpRestrictions <PswsHashtable[]>]
98103
[-PrependSubject <String>]
99104
[-Priority <Int32>]
100105
[-ProcessingLimitExceeded <Boolean>]
@@ -113,6 +118,8 @@ New-DlpComplianceRule [-Name] <String> -Policy <PolicyIdParameter>
113118
[-SubjectMatchesPatterns <MultiValuedProperty>]
114119
[-SubjectOrBodyContainsWords <MultiValuedProperty>]
115120
[-SubjectOrBodyMatchesPatterns <MultiValuedProperty>]
121+
[-ThirdPartyAppDlpRestrictions <PswsHashtable[]>]
122+
[-UnscannableDocumentExtensionIs <MultiValuedProperty>]
116123
[-WhatIf]
117124
[-WithImportance <WithImportance>]
118125
[<CommonParameters>]
@@ -228,6 +235,22 @@ Accept pipeline input: False
228235
Accept wildcard characters: False
229236
```
230237

238+
### -AlertProperties
239+
{{ Fill AlertProperties Description }}
240+
241+
```yaml
242+
Type: PswsHashtable
243+
Parameter Sets: (All)
244+
Aliases:
245+
Applicable: Security & Compliance Center
246+
247+
Required: False
248+
Position: Named
249+
Default value: None
250+
Accept pipeline input: False
251+
Accept wildcard characters: False
252+
```
253+
231254
### -AnyOfRecipientAddressContainsWords
232255
The AnyOfRecipientAddressContainsWords parameter specifies a condition for the DLP rule that looks for words or phrases in recipient email addresses. You can specify multiple words or phrases separated by commas.
233256

@@ -923,6 +946,22 @@ Accept pipeline input: False
923946
Accept wildcard characters: False
924947
```
925948

949+
### -ExceptIfFromMemberOf
950+
This parameter is reserved for internal Microsoft use.
951+
952+
```yaml
953+
Type: SmtpAddress[]
954+
Parameter Sets: (All)
955+
Aliases:
956+
Applicable: Security & Compliance Center
957+
958+
Required: False
959+
Position: Named
960+
Default value: None
961+
Accept pipeline input: False
962+
Accept wildcard characters: False
963+
```
964+
926965
### -ExceptIfFromScope
927966
The ExceptIfFromScope parameter specifies an exception for the rule that looks for the location of message senders. Valid values are:
928967

@@ -1223,6 +1262,22 @@ Accept pipeline input: False
12231262
Accept wildcard characters: False
12241263
```
12251264

1265+
### -ExceptIfUnscannableDocumentExtensionIs
1266+
{{ Fill ExceptIfUnscannableDocumentExtensionIs Description }}
1267+
1268+
```yaml
1269+
Type: MultiValuedProperty
1270+
Parameter Sets: (All)
1271+
Aliases:
1272+
Applicable: Security & Compliance Center
1273+
1274+
Required: False
1275+
Position: Named
1276+
Default value: None
1277+
Accept pipeline input: False
1278+
Accept wildcard characters: False
1279+
```
1280+
12261281
### -ExceptIfWithImportance
12271282
The ExceptIfWithImportance parameter specifies an exception for the rule that looks for messages with the specified importance level. Valid values are:
12281283

@@ -1585,6 +1640,22 @@ Accept pipeline input: False
15851640
Accept wildcard characters: False
15861641
```
15871642

1643+
### -NotifyEmailCustomSubject
1644+
{{ Fill NotifyEmailCustomSubject Description }}
1645+
1646+
```yaml
1647+
Type: String
1648+
Parameter Sets: (All)
1649+
Aliases:
1650+
Applicable: Security & Compliance Center
1651+
1652+
Required: False
1653+
Position: Named
1654+
Default value: None
1655+
Accept pipeline input: False
1656+
Accept wildcard characters: False
1657+
```
1658+
15881659
### -NotifyEmailCustomText
15891660
The NotifyEmailCustomText parameter specifies the custom text in the email notification message that's sent to recipients when the conditions of the rule are met.
15901661

@@ -1662,6 +1733,22 @@ Accept pipeline input: False
16621733
Accept wildcard characters: False
16631734
```
16641735

1736+
### -OnPremisesScannerDlpRestrictions
1737+
{{ Fill OnPremisesScannerDlpRestrictions Description }}
1738+
1739+
```yaml
1740+
Type: PswsHashtable[]
1741+
Parameter Sets: (All)
1742+
Aliases:
1743+
Applicable: Security & Compliance Center
1744+
1745+
Required: False
1746+
Position: Named
1747+
Default value: None
1748+
Accept pipeline input: False
1749+
Accept wildcard characters: False
1750+
```
1751+
16651752
### -PrependSubject
16661753
The PrependSubject parameter specifies an action for the rule that adds text to add to the beginning of the Subject field of messages. The value for this parameter is the text that you want to add. If the text contains spaces, enclose the value in quotation marks (").
16671754

@@ -1750,6 +1837,7 @@ You can use this action in DLP policies that are scoped only to Exchange.
17501837
Type: RecipientIdParameter[]
17511838
Parameter Sets: (All)
17521839
Aliases:
1840+
Applicable: Security & Compliance Center
17531841
17541842
Required: False
17551843
Position: Named
@@ -2016,6 +2104,38 @@ Accept pipeline input: False
20162104
Accept wildcard characters: False
20172105
```
20182106

2107+
### -ThirdPartyAppDlpRestrictions
2108+
{{ Fill ThirdPartyAppDlpRestrictions Description }}
2109+
2110+
```yaml
2111+
Type: PswsHashtable[]
2112+
Parameter Sets: (All)
2113+
Aliases:
2114+
Applicable: Security & Compliance Center
2115+
2116+
Required: False
2117+
Position: Named
2118+
Default value: None
2119+
Accept pipeline input: False
2120+
Accept wildcard characters: False
2121+
```
2122+
2123+
### -UnscannableDocumentExtensionIs
2124+
{{ Fill UnscannableDocumentExtensionIs Description }}
2125+
2126+
```yaml
2127+
Type:
2128+
Parameter Sets: (All)
2129+
Aliases:
2130+
Applicable: Security & Compliance Center
2131+
2132+
Required: False
2133+
Position: Named
2134+
Default value: None
2135+
Accept pipeline input: False
2136+
Accept wildcard characters: False
2137+
```
2138+
20192139
### -WhatIf
20202140
The WhatIf switch doesn't work in Security & Compliance Center PowerShell.
20212141

0 commit comments

Comments
 (0)