Skip to content

Commit cbe396c

Browse files
committed
ODB scoping updates
1 parent e7a0bfe commit cbe396c

File tree

2 files changed

+158
-0
lines changed

2 files changed

+158
-0
lines changed

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

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,14 @@ New-DlpCompliancePolicy [-Name] <String>
2727
[-ExchangeLocation <MultiValuedProperty>]
2828
[-ExchangeSenderMemberOf <SmtpAddress[]>]
2929
[-ExchangeSenderMemberOfException <SmtpAddress[]>]
30+
[-ExceptIfOneDriveSharedBy <SmtpAddress[]>]
31+
[-ExceptIfOneDriveSharedByMemberOf <SmtpAddress[]>]
3032
[-Force]
3133
[-Mode <PolicyMode>]
3234
[-OneDriveLocation <MultiValuedProperty>]
3335
[-OneDriveLocationException <MultiValuedProperty>]
36+
[-OneDriveSharedBy <SmtpAddress[]>]
37+
[-OneDriveSharedByMemberOf <SmtpAddress[]>]
3438
[-Priority <Int32>]
3539
[-SharePointLocation <MultiValuedProperty>]
3640
[-SharePointLocationException <MultiValuedProperty>]
@@ -157,6 +161,44 @@ You can enter multiple values separated by commas.
157161

158162
You can't use this parameter to specify Microsoft 365 Groups.
159163

164+
```yaml
165+
Type: SmtpAddress[]
166+
Parameter Sets: (All)
167+
Aliases:
168+
Applicable: Security & Compliance Center
169+
170+
Required: False
171+
Position: Named
172+
Default value: None
173+
Accept pipeline input: False
174+
Accept wildcard characters: False
175+
```
176+
177+
### -ExceptIfOneDriveSharedBy
178+
The ExceptIfOneDriveSharedBy parameter specifies the users to exclude in the DLP policy. You identify the user by its email address.
179+
180+
To enter multiple values, use the following syntax: \<value1\>,\<value2\>,...\<valueX\>.
181+
182+
183+
```yaml
184+
Type: SmtpAddress[]
185+
Parameter Sets: (All)
186+
Aliases:
187+
Applicable: Security & Compliance Center
188+
189+
Required: False
190+
Position: Named
191+
Default value: None
192+
Accept pipeline input: False
193+
Accept wildcard characters: False
194+
```
195+
196+
### -ExceptIfOneDriveSharedByMemberOf
197+
The ExceptIfOneDriveSharedByMemberOf parameter specifies the distribution groups, mail-enabled security groups, or Microsoft 365 groups to exclude in the DLP policy. You identify the group by its email address.
198+
199+
To enter multiple values, use the following syntax: \<value1\>,\<value2\>,...\<valueX\>.
200+
201+
160202
```yaml
161203
Type: SmtpAddress[]
162204
Parameter Sets: (All)
@@ -243,6 +285,43 @@ Accept pipeline input: False
243285
Accept wildcard characters: False
244286
```
245287

288+
### -OneDriveSharedBy
289+
The OneDriveSharedBy parameter specifies the users to include in the DLP policy. You identify the user by its email address.
290+
291+
To enter multiple values, use the following syntax: \<value1\>,\<value2\>,...\<valueX\>.
292+
293+
294+
```yaml
295+
Type: SmtpAddress[]
296+
Parameter Sets: (All)
297+
Aliases:
298+
Applicable: Security & Compliance Center
299+
300+
Required: False
301+
Position: Named
302+
Default value: None
303+
Accept pipeline input: False
304+
Accept wildcard characters: False
305+
```
306+
307+
### -OneDriveSharedByMemberOf
308+
The OneDriveSharedByMemberOf parameter specifies the distribution groups, mail-enabled security groups, or Microsoft 365 groups to include in the DLP policy. You identify the group by its email address.
309+
310+
To enter multiple values, use the following syntax: \<value1\>,\<value2\>,...\<valueX\>.
311+
312+
```yaml
313+
Type: SmtpAddress[]
314+
Parameter Sets: (All)
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+
246325
### -Priority
247326
The Priority parameter specifies a priority value for the policy that determines the order of policy processing. A lower integer value indicates a higher priority, the value 0 is the highest priority, and policies can't have the same priority value.
248327

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

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,12 @@ Set-DlpCompliancePolicy [-Identity] <PolicyIdParameter>
3636
[-Confirm]
3737
[-ExchangeSenderMemberOf <SmtpAddress[]>]
3838
[-ExchangeSenderMemberOfException <SmtpAddress[]>]
39+
[-ExceptIfOneDriveSharedBy <SmtpAddress[]>]
40+
[-ExceptIfOneDriveSharedByMemberOf <SmtpAddress[]>]
3941
[-Force]
4042
[-Mode <PolicyMode>]
43+
[-OneDriveSharedBy <SmtpAddress[]>]
44+
[-OneDriveSharedByMemberOf <SmtpAddress[]>]
4145
[-Priority <Int32>]
4246
[-RemoveEndpointDlpLocation <MultiValuedProperty>]
4347
[-RemoveEndpointDlpLocationException <MultiValuedProperty>]
@@ -356,6 +360,44 @@ Accept pipeline input: False
356360
Accept wildcard characters: False
357361
```
358362

363+
### -ExceptIfOneDriveSharedBy
364+
The ExceptIfOneDriveSharedBy parameter specifies the users to exclude in the DLP policy. You identify the user by its email address.
365+
366+
To enter multiple values, use the following syntax: \<value1\>,\<value2\>,...\<valueX\>.
367+
368+
369+
```yaml
370+
Type: SmtpAddress[]
371+
Parameter Sets: (All)
372+
Aliases:
373+
Applicable: Security & Compliance Center
374+
375+
Required: False
376+
Position: Named
377+
Default value: None
378+
Accept pipeline input: False
379+
Accept wildcard characters: False
380+
```
381+
382+
### -ExceptIfOneDriveSharedByMemberOf
383+
The ExceptIfOneDriveSharedByMemberOf parameter specifies the distribution groups, mail-enabled security groups, or Microsoft 365 groups to exclude in the DLP policy. You identify the group by its email address.
384+
385+
To enter multiple values, use the following syntax: \<value1\>,\<value2\>,...\<valueX\>.
386+
387+
388+
```yaml
389+
Type: SmtpAddress[]
390+
Parameter Sets: (All)
391+
Aliases:
392+
Applicable: Security & Compliance Center
393+
394+
Required: False
395+
Position: Named
396+
Default value: None
397+
Accept pipeline input: False
398+
Accept wildcard characters: False
399+
```
400+
359401
### -Force
360402
The Force switch specifies whether to suppress warning or confirmation messages. You can use this switch to run tasks programmatically where prompting for administrative input is inappropriate. You don't need to specify a value with this switch.
361403

@@ -393,6 +435,43 @@ Accept pipeline input: False
393435
Accept wildcard characters: False
394436
```
395437

438+
### -OneDriveSharedBy
439+
The OneDriveSharedBy parameter specifies the users to include in the DLP policy. You identify the user by its email address.
440+
441+
To enter multiple values, use the following syntax: \<value1\>,\<value2\>,...\<valueX\>.
442+
443+
444+
```yaml
445+
Type: SmtpAddress[]
446+
Parameter Sets: (All)
447+
Aliases:
448+
Applicable: Security & Compliance Center
449+
450+
Required: False
451+
Position: Named
452+
Default value: None
453+
Accept pipeline input: False
454+
Accept wildcard characters: False
455+
```
456+
457+
### -OneDriveSharedByMemberOf
458+
The OneDriveSharedByMemberOf parameter specifies the distribution groups, mail-enabled security groups, or Microsoft 365 groups to include in the DLP policy. You identify the group by its email address.
459+
460+
To enter multiple values, use the following syntax: \<value1\>,\<value2\>,...\<valueX\>.
461+
462+
```yaml
463+
Type: SmtpAddress[]
464+
Parameter Sets: (All)
465+
Aliases:
466+
Applicable: Security & Compliance Center
467+
468+
Required: False
469+
Position: Named
470+
Default value: None
471+
Accept pipeline input: False
472+
Accept wildcard characters: False
473+
```
474+
396475
### -Priority
397476
The Priority parameter specifies a priority value for the policy that determines the order of policy processing. A lower integer value indicates a higher priority, the value 0 is the highest priority, and policies can't have the same priority value.
398477

0 commit comments

Comments
 (0)