Skip to content

Commit 9afb256

Browse files
committed
Added new params and descriptions to New/Set-DLPCompliancePolicy
Per bug/email request
1 parent 6472c4d commit 9afb256

File tree

2 files changed

+166
-18
lines changed

2 files changed

+166
-18
lines changed

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

Lines changed: 69 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ For information about the parameter sets in the Syntax section below, see [Excha
2424
New-DlpCompliancePolicy [-Name] <String>
2525
[-Comment <String>]
2626
[-Confirm]
27+
[-EndpointDlpLocation <MultiValuedProperty>]
28+
[-EndpointDlpLocationException <MultiValuedProperty>]
29+
[-ExceptIfOneDriveSharedBy <RecipientIdParameter[]>]
2730
[-ExchangeLocation <MultiValuedProperty>]
2831
[-ExchangeSenderMemberOf <SmtpAddress[]>]
2932
[-ExchangeSenderMemberOfException <SmtpAddress[]>]
@@ -34,10 +37,10 @@ New-DlpCompliancePolicy [-Name] <String>
3437
[-Priority <Int32>]
3538
[-SharePointLocation <MultiValuedProperty>]
3639
[-SharePointLocationException <MultiValuedProperty>]
37-
[-SharePointOnPremisesLocationException <MultiValuedProperty>]
38-
[-SharePointServerLocation <MultiValuedProperty>]
3940
[-TeamsLocation <MultiValuedProperty>]
4041
[-TeamsLocationException <MultiValuedProperty>]
42+
[-ThirdPartyAppDlpLocation <MultiValuedProperty>]
43+
[-ThirdPartyAppDlpLocationException <MultiValuedProperty>]
4144
[-WhatIf]
4245
[<CommonParameters>]
4346
```
@@ -114,6 +117,58 @@ Accept pipeline input: False
114117
Accept wildcard characters: False
115118
```
116119

120+
### -EndpointDlpLocation
121+
The EndpointDLPLocation parameter specifies the user accounts to include in the DLP policy when they are logged on to an onboarded device. You identify the account by name or email address. You can use the value All for this parameter to include all user accounts.
122+
123+
You can enter multiple values separated by commas. If the values contain spaces or otherwise require quotation marks, use the following syntax: `"Value1","Value2",..."ValueN"`.
124+
125+
```yaml
126+
Type: MultiValuedProperty
127+
Parameter Sets: (All)
128+
Aliases:
129+
Applicable: Security & Compliance Center
130+
131+
Required: False
132+
Position: Named
133+
Default value: None
134+
Accept pipeline input: False
135+
Accept wildcard characters: False
136+
```
137+
138+
### -EndpointDlpLocationException
139+
The EndpointDlpLocationException parameter specifies the user accounts to exclude when you use the value All for the EndpointDlpLocation parameter. You identify the account by name or email address.
140+
141+
You can enter multiple values separated by commas. If the values contain spaces or otherwise require quotation marks, use the following syntax: `"Value1","Value2",..."ValueN"`.
142+
143+
```yaml
144+
Type: MultiValuedProperty
145+
Parameter Sets: (All)
146+
Aliases:
147+
Applicable: Security & Compliance Center
148+
149+
Required: False
150+
Position: Named
151+
Default value: None
152+
Accept pipeline input: False
153+
Accept wildcard characters: False
154+
```
155+
156+
### -ExceptIfOneDriveSharedBy
157+
This parameter is reserved for internal Microsoft use.
158+
159+
```yaml
160+
Type: RecipientIdParameter[]
161+
Parameter Sets: (All)
162+
Aliases:
163+
Applicable: Security & Compliance Center
164+
165+
Required: False
166+
Position: Named
167+
Default value: None
168+
Accept pipeline input: False
169+
Accept wildcard characters: False
170+
```
171+
117172
### -ExchangeLocation
118173
The ExchangeLocation parameter specifies Exchange Online mailboxes to include in the DLP policy. You can only use the value All for this parameter to include all mailboxes.
119174

@@ -303,8 +358,10 @@ Accept pipeline input: False
303358
Accept wildcard characters: False
304359
```
305360

306-
### -SharePointOnPremisesLocationException
307-
This parameter is reserved for internal Microsoft use.
361+
### -TeamsLocation
362+
The TeamsLocation parameter specifies the Teams accounts to include in the DLP policy. You identify the account by its name or email address, or you can use the value All to include all accounts.
363+
364+
You can enter multiple values separated by commas. If the values contain spaces or otherwise require quotation marks, use the following syntax: `"Value1","Value2",..."ValueN"`.
308365

309366
```yaml
310367
Type: MultiValuedProperty
@@ -319,8 +376,10 @@ Accept pipeline input: False
319376
Accept wildcard characters: False
320377
```
321378

322-
### -SharePointServerLocation
323-
This parameter is reserved for internal Microsoft use.
379+
### -TeamsLocationException
380+
The TeamsLocation parameter specifies the Teams accounts to exclude form the DLP policy when you use the value All for the TeamsLocation parameter. You identify the account by its name or email address.
381+
382+
You can enter multiple values separated by commas. If the values contain spaces or otherwise require quotation marks, use the following syntax: `"Value1","Value2",..."ValueN"`.
324383

325384
```yaml
326385
Type: MultiValuedProperty
@@ -335,10 +394,8 @@ Accept pipeline input: False
335394
Accept wildcard characters: False
336395
```
337396

338-
### -TeamsLocation
339-
The TeamsLocation parameter specifies the Teams accounts to include in the DLP policy. You identify the account by its name or email address, or you can use the value All to include all accounts.
340-
341-
You can enter multiple values separated by commas. If the values contain spaces or otherwise require quotation marks, use the following syntax: `"Value1","Value2",..."ValueN"`.
397+
### -ThirdPartyAppDlpLocation
398+
This parameter is reserved for internal Microsoft use.
342399

343400
```yaml
344401
Type: MultiValuedProperty
@@ -353,10 +410,8 @@ Accept pipeline input: False
353410
Accept wildcard characters: False
354411
```
355412

356-
### -TeamsLocationException
357-
The TeamsLocation parameter specifies the Teams accounts to exclude form the DLP policy when you use the value All for the TeamsLocation parameter. You identify the account by its name or email address.
358-
359-
You can enter multiple values separated by commas. If the values contain spaces or otherwise require quotation marks, use the following syntax: `"Value1","Value2",..."ValueN"`.
413+
### -ThirdPartyAppDlpLocationException
414+
This parameter is reserved for internal Microsoft use.
360415

361416
```yaml
362417
Type: MultiValuedProperty

exchange/exchange-ps/exchange/Set-DlpCompliancePolicy.md

Lines changed: 97 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,11 @@ Set-DlpCompliancePolicy [-Identity] <PolicyIdParameter>
3232
[-AddSharePointLocationException <MultiValuedProperty>]
3333
[-AddTeamsLocation <MultiValuedProperty>]
3434
[-AddTeamsLocationException <MultiValuedProperty>]
35+
[-AddThirdPartyAppDlpLocation <>]
36+
[-AddThirdPartyAppDlpLocationException <>]
3537
[-Comment <String>]
3638
[-Confirm]
39+
[-ExceptIfOneDriveSharedBy <RecipientIdParameter[]>]
3740
[-ExchangeSenderMemberOf <SmtpAddress[]>]
3841
[-ExchangeSenderMemberOfException <SmtpAddress[]>]
3942
[-Force]
@@ -48,6 +51,8 @@ Set-DlpCompliancePolicy [-Identity] <PolicyIdParameter>
4851
[-RemoveSharePointLocationException <MultiValuedProperty>]
4952
[-RemoveTeamsLocation <MultiValuedProperty>]
5053
[-RemoveTeamsLocationException <MultiValuedProperty>]
54+
[-RemoveThirdPartyAppDlpLocation <>]
55+
[-RemoveThirdPartyAppDlpLocationException <>]
5156
[-WhatIf]
5257
[<CommonParameters>]
5358
```
@@ -124,7 +129,9 @@ Accept wildcard characters: False
124129
```
125130
126131
### -AddEndpointDlpLocation
127-
This parameter is reserved for internal Microsoft use.
132+
The AddEndpointDLPLocation parameter specifies the user accounts to add to the list of included accounts when you aren't using the value All for the EndpointDLPLocation parameter. You identify the account by name or email address.
133+
134+
You can enter multiple values separated by commas. If the values contain spaces or otherwise require quotation marks, use the following syntax: `"Value1","Value2",..."ValueN"`.
128135

129136
```yaml
130137
Type: MultiValuedProperty
@@ -140,7 +147,9 @@ Accept wildcard characters: False
140147
```
141148

142149
### -AddEndpointDlpLocationException
143-
This parameter is reserved for internal Microsoft use.
150+
The AddEndpointDlpLocationException parameter specifies the user accounts to add to the list of excluded accounts when you use the value All for the EndpointDLPLocation parameter. You identify the account by name or email address.
151+
152+
You can enter multiple values separated by commas. If the values contain spaces or otherwise require quotation marks, use the following syntax: `"Value1","Value2",..."ValueN"`.
144153

145154
```yaml
146155
Type: MultiValuedProperty
@@ -281,6 +290,38 @@ Accept pipeline input: False
281290
Accept wildcard characters: False
282291
```
283292

293+
### -AddThirdPartyAppDlpLocation
294+
{{ Fill AddThirdPartyAppDlpLocation Description }}
295+
296+
```yaml
297+
Type: MultiValuedProperty
298+
Parameter Sets: Identity
299+
Aliases:
300+
Applicable: Security & Compliance Center
301+
302+
Required: False
303+
Position: Named
304+
Default value: None
305+
Accept pipeline input: False
306+
Accept wildcard characters: False
307+
```
308+
309+
### -AddThirdPartyAppDlpLocationException
310+
{{ Fill AddThirdPartyAppDlpLocationException Description }}
311+
312+
```yaml
313+
Type: MultiValuedProperty
314+
Parameter Sets: Identity
315+
Aliases:
316+
Applicable: Security & Compliance Center
317+
318+
Required: False
319+
Position: Named
320+
Default value: None
321+
Accept pipeline input: False
322+
Accept wildcard characters: False
323+
```
324+
284325
### -Comment
285326
The Comment parameter specifies an optional comment. If you specify a value that contains spaces, enclose the value in quotation marks ("), for example: "This is an admin note".
286327

@@ -316,6 +357,22 @@ Accept pipeline input: False
316357
Accept wildcard characters: False
317358
```
318359

360+
### -ExceptIfOneDriveSharedBy
361+
{{ Fill ExceptIfOneDriveSharedBy Description }}
362+
363+
```yaml
364+
Type: RecipientIdParameter[]
365+
Parameter Sets: Identity
366+
Aliases:
367+
Applicable: Security & Compliance Center
368+
369+
Required: False
370+
Position: Named
371+
Default value: None
372+
Accept pipeline input: False
373+
Accept wildcard characters: False
374+
```
375+
319376
### -ExchangeSenderMemberOf
320377
The ExchangeSenderMemberOf parameter specifies the distribution groups, mail-enabled security groups, or dynamic distribution groups to include in the DLP policy. You identify the group by its email address.
321378

@@ -418,7 +475,9 @@ Accept wildcard characters: False
418475
```
419476

420477
### -RemoveEndpointDlpLocation
421-
This parameter is reserved for internal Microsoft use.
478+
The RemoveEndpointDlpLocation parameter specifies the user accounts to remove from the list of included accounts when you aren't using the value All for the EndpointDLPLocation parameter. You identify the account by name or email address.
479+
480+
You can enter multiple values separated by commas. If the values contain spaces or otherwise require quotation marks, use the following syntax: `"Value1","Value2",..."ValueN"`.
422481

423482
```yaml
424483
Type: MultiValuedProperty
@@ -434,7 +493,9 @@ Accept wildcard characters: False
434493
```
435494

436495
### -RemoveEndpointDlpLocationException
437-
This parameter is reserved for internal Microsoft use.
496+
The RemoveEndpointDlpLocation parameter specifies the user accounts to remove from the list of excluded accounts when you use the value All for the EndpointDLPLocation parameter. You identify the account by name or email address.
497+
498+
You can enter multiple values separated by commas. If the values contain spaces or otherwise require quotation marks, use the following syntax: `"Value1","Value2",..."ValueN"`.
438499

439500
```yaml
440501
Type: MultiValuedProperty
@@ -573,6 +634,38 @@ Accept pipeline input: False
573634
Accept wildcard characters: False
574635
```
575636

637+
### -RemoveThirdPartyAppDlpLocation
638+
{{ Fill RemoveThirdPartyAppDlpLocation Description }}
639+
640+
```yaml
641+
Type: MultiValuedProperty
642+
Parameter Sets: Identity
643+
Aliases:
644+
Applicable: Security & Compliance Center
645+
646+
Required: False
647+
Position: Named
648+
Default value: None
649+
Accept pipeline input: False
650+
Accept wildcard characters: False
651+
```
652+
653+
### -RemoveThirdPartyAppDlpLocationException
654+
{{ Fill RemoveThirdPartyAppDlpLocationException Description }}
655+
656+
```yaml
657+
Type: MultiValuedProperty
658+
Parameter Sets: Identity
659+
Aliases:
660+
Applicable: Security & Compliance Center
661+
662+
Required: False
663+
Position: Named
664+
Default value: None
665+
Accept pipeline input: False
666+
Accept wildcard characters: False
667+
```
668+
576669
### -WhatIf
577670
The WhatIf switch doesn't work in Security & Compliance Center PowerShell.
578671

0 commit comments

Comments
 (0)