Skip to content

Commit 71edcac

Browse files
committed
S&C Blind Cmdlet Sweep
1 parent 6e289b2 commit 71edcac

14 files changed

+646
-2
lines changed

exchange/exchange-ps/exchange/Get-Label.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ For information about the parameter sets in the Syntax section below, see [Excha
2424
Get-Label [[-Identity] <ComplianceRuleIdParameter>]
2525
[-IncludeDetailedLabelActions]
2626
[-SkipValidations]
27+
[-ValidateContentTypeRemoval]
2728
[<CommonParameters>]
2829
```
2930

@@ -100,6 +101,22 @@ Accept pipeline input: False
100101
Accept wildcard characters: False
101102
```
102103
104+
### -ValidateContentTypeRemoval
105+
{{ Fill ValidateContentTypeRemoval Description }}
106+
107+
```yaml
108+
Type: SwitchParameter
109+
Parameter Sets: (All)
110+
Aliases:
111+
Applicable: Security & Compliance
112+
113+
Required: False
114+
Position: Named
115+
Default value: None
116+
Accept pipeline input: False
117+
Accept wildcard characters: False
118+
```
119+
103120
### CommonParameters
104121
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/p/?LinkID=113216).
105122

exchange/exchange-ps/exchange/Get-QuarantineMessage.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ Get-QuarantineMessage -Identity <QuarantineMessageIdentity>
2626
[-EntityType <Microsoft.Exchange.Management.FfoQuarantine.EntityType>]
2727
[-RecipientAddress <String[]>]
2828
[-SenderAddress <String[]>]
29+
[-TeamsConversationTypes <Microsoft.Exchange.Management.FfoQuarantine.TeamsConversationType[]>]
2930
[<CommonParameters>]
3031
```
3132

@@ -52,6 +53,7 @@ Get-QuarantineMessage
5253
[-StartExpiresDate <System.DateTime>]
5354
[-StartReceivedDate <System.DateTime>]
5455
[-Subject <String>]
56+
[-TeamsConversationTypes <Microsoft.Exchange.Management.FfoQuarantine.TeamsConversationType[]>]
5557
[-Type <Microsoft.Exchange.Management.FfoQuarantine.QuarantineMessageTypeEnum>]
5658
[<CommonParameters>]
5759
```
@@ -501,6 +503,29 @@ Accept pipeline input: False
501503
Accept wildcard characters: False
502504
```
503505

506+
### -TeamsConversationTypes
507+
This parameter is available only in Security & Compliance PowerShell.
508+
509+
The TeamsConversationTypes parameters filters the results by Microsoft Teams conversation types. Valid values are:
510+
511+
- Channel
512+
- Chat
513+
514+
You can specify multiple values separated by commas.
515+
516+
```yaml
517+
Type: Microsoft.Exchange.Management.FfoQuarantine.TeamsConversationType[]
518+
Parameter Sets: (All)
519+
Aliases:
520+
Applicable: Security & Compliance
521+
522+
Required: False
523+
Position: Named
524+
Default value: None
525+
Accept pipeline input: False
526+
Accept wildcard characters: False
527+
```
528+
504529
### -Type
505530
The Type parameter filters the results by what caused the message to be quarantined. Valid values are:
506531

exchange/exchange-ps/exchange/New-AdaptiveScope.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,15 @@ For information about the parameter sets in the Syntax section below, see [Excha
2323
### Default
2424
```
2525
New-AdaptiveScope -Name <String> -FilterConditions <PswsHashtable> -LocationType <DynamicBoundaryLocationType>
26+
[-AdministrativeUnit <Guid>]
2627
[-Comment <String>]
2728
[<CommonParameters>]
2829
```
2930

3031
### AdaptiveScopeRawQuery
3132
```
3233
New-AdaptiveScope -Name <String> -LocationType <DynamicBoundaryLocationType> -RawQuery <String>
34+
[-AdministrativeUnit <Guid>]
3335
[-Comment <String>]
3436
[<CommonParameters>]
3537
```
@@ -129,6 +131,22 @@ Accept pipeline input: False
129131
Accept wildcard characters: False
130132
```
131133

134+
### -AdministrativeUnit
135+
{{ Fill AdministrativeUnit Description }}
136+
137+
```yaml
138+
Type: Guid
139+
Parameter Sets: (All)
140+
Aliases:
141+
Applicable: Security & Compliance
142+
143+
Required: False
144+
Position: Named
145+
Default value: None
146+
Accept pipeline input: False
147+
Accept wildcard characters: False
148+
```
149+
132150
### -Comment
133151
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".
134152

exchange/exchange-ps/exchange/New-AutoSensitivityLabelPolicy.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ For information about the parameter sets in the Syntax section below, see [Excha
2424
New-AutoSensitivityLabelPolicy [-Name] <String> -ApplySensitivityLabel <String>
2525
[-Comment <String>]
2626
[-Confirm]
27+
[-ExceptIfOneDriveSharedBy <RecipientIdParameter[]>]
2728
[-ExchangeLocation <MultiValuedProperty>]
2829
[-ExchangeSender <SmtpAddress[]>]
2930
[-ExchangeSenderException <SmtpAddress[]>]
@@ -34,6 +35,7 @@ New-AutoSensitivityLabelPolicy [-Name] <String> -ApplySensitivityLabel <String>
3435
[-Mode <PolicyMode>]
3536
[-OneDriveLocation <MultiValuedProperty>]
3637
[-OneDriveLocationException <MultiValuedProperty>]
38+
[-OneDriveSharedBy <RecipientIdParameter[]>]
3739
[-OverwriteLabel <Boolean>]
3840
[-PolicyRBACScopes <MultiValuedProperty>]
3941
[-PolicyTemplateInfo <PswsHashtable>]
@@ -126,6 +128,28 @@ Accept pipeline input: False
126128
Accept wildcard characters: False
127129
```
128130

131+
### -ExceptIfOneDriveSharedBy
132+
The ExceptIfOneDriveSharedBy parameter specifies the users to exclude from the policy (the sites of the OneDrive for Business user accounts are included in the policy). You identify the users by UPN ([email protected]).
133+
134+
To use this parameter, OneDrive for Business sites need to be included in the policy (the OneDriveLocation parameter value is All, which is the default value).
135+
136+
To enter multiple values, use the following syntax: `<value1>,<value2>,...<valueX>`. If the values contain spaces or otherwise require quotation marks, use the following syntax: `"<value1>","<value2>",..."<valueX>"`.
137+
138+
You can't use this parameter with the OneDriveSharedBy parameter.
139+
140+
```yaml
141+
Type: RecipientIdParameter[]
142+
Parameter Sets: (All)
143+
Aliases:
144+
Applicable: Security & Compliance
145+
146+
Required: False
147+
Position: Named
148+
Default value: None
149+
Accept pipeline input: False
150+
Accept wildcard characters: False
151+
```
152+
129153
### -ExchangeLocation
130154
The ExchangeLocation parameter specifies whether to include email messages in the policy. The valid value for this parameter is All. If you don't want to include email messages in the policy, don't use this parameter (the default value is blank or $null).
131155

@@ -342,6 +366,28 @@ Accept pipeline input: False
342366
Accept wildcard characters: False
343367
```
344368

369+
### -OneDriveSharedBy
370+
The OneDriveSharedBy parameter specifies the users to include in the policy (the sites of the OneDrive for Business user accounts are included in the policy). You identify the users by UPN ([email protected]).
371+
372+
To use this parameter, OneDrive for Business sites need to be included in the policy (the OneDriveLocation parameter value is All, which is the default value).
373+
374+
To enter multiple values, use the following syntax: `<value1>,<value2>,...<valueX>`. If the values contain spaces or otherwise require quotation marks, use the following syntax: `"<value1>","<value2>",..."<valueX>"`.
375+
376+
You can't use this parameter with the ExceptIfOneDriveSharedBy parameter.
377+
378+
```yaml
379+
Type: RecipientIdParameter[]
380+
Parameter Sets: (All)
381+
Aliases:
382+
Applicable: Security & Compliance
383+
384+
Required: False
385+
Position: Named
386+
Default value: None
387+
Accept pipeline input: False
388+
Accept wildcard characters: False
389+
```
390+
345391
### -OverwriteLabel
346392
The OverwriteLabel parameter specifies whether to overwrite a manual label. Valid values are:
347393

0 commit comments

Comments
 (0)