Skip to content

Commit 452f460

Browse files
committed
Adding changes from PR against Main
#11850
1 parent d17c970 commit 452f460

File tree

3 files changed

+50
-120
lines changed

3 files changed

+50
-120
lines changed

exchange/exchange-ps/exchange/Get-FeatureConfiguration.md

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ For information about the parameter sets in the Syntax section below, see [Excha
2020
## SYNTAX
2121

2222
```
23-
Get-FeatureConfiguration [[-Identity] <Microsoft.Office.CompliancePolicy.Tasks.PolicyIdParameter>]
23+
Get-FeatureConfiguration [-FeatureScenario] <Microsoft.Office.CompliancePolicy.PolicyConfiguration.PolicyScenario>
24+
[[-Identity] <Microsoft.Office.CompliancePolicy.Tasks.PolicyIdParameter>]
2425
[-Confirm]
2526
[-WhatIf]
2627
[<CommonParameters>]
@@ -33,14 +34,14 @@ To use this cmdlet in Security & Compliance PowerShell, you need to be assigned
3334

3435
### Example 1
3536
```powershell
36-
Get-FeatureConfiguration | Format-Table Name,Mode
37+
Get-FeatureConfiguration -FeatureScenario KnowYourData | Format-Table Name,Mode
3738
```
3839

3940
This example returns a summary list of all Discovery policies in the organization.
4041

4142
### Example 2
4243
```powershell
43-
Get-FeatureConfiguration -Identity "Engineering Group"
44+
Get-FeatureConfiguration -FeatureScenario KnowYourData -Identity "Engineering Group"
4445
```
4546

4647
This example returns detailed information about the specified Discovery policy.
@@ -67,6 +68,22 @@ Accept pipeline input: True (ByPropertyName, ByValue)
6768
Accept wildcard characters: False
6869
```
6970
71+
### -FeatureScenario
72+
The FeatureScenario parameter identifies the type of Discovery policy that you want to view.
73+
74+
```yaml
75+
Type: Microsoft.Office.CompliancePolicy.PolicyConfiguration.PolicyScenario
76+
Parameter Sets: (All)
77+
Aliases:
78+
Applicable: Security & Compliance
79+
80+
Required: True
81+
Position: Named
82+
Default value: None
83+
Accept pipeline input: False
84+
Accept wildcard characters: False
85+
```
86+
7087
### -Confirm
7188
This parameter is reserved for internal Microsoft use.
7289

exchange/exchange-ps/exchange/New-FeatureConfiguration.md

Lines changed: 30 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ For information about the parameter sets in the Syntax section below, see [Excha
2020
## SYNTAX
2121

2222
```
23-
New-FeatureConfiguration [-Name] <String> -Mode <Microsoft.Office.CompliancePolicy.Tasks.PolicyMode> -Scenario <Microsoft.Office.CompliancePolicy.Tasks.FeatureConfigurationScenario> -ScenarioConfig <String>
23+
New-FeatureConfiguration [-Name] <String> -Mode <Microsoft.Office.CompliancePolicy.Tasks.PolicyMode> -FeatureScenario <Microsoft.Office.CompliancePolicy.PolicyConfiguration.PolicyScenario> -ScenarioConfig <String>
2424
[-Comment <String>]
2525
[-Confirm]
2626
[-Locations <String>]
@@ -58,104 +58,102 @@ Accept pipeline input: False
5858
Accept wildcard characters: False
5959
```
6060
61-
### -Comment
62-
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".
61+
### -FeatureScenario
62+
The FeatureScenario parameter specifies the scenario for the Discovery policy. Currently, the only valid value is KnowYourData.
6363
6464
```yaml
65-
Type: String
65+
Type: Microsoft.Office.CompliancePolicy.PolicyConfiguration.PolicyScenario
6666
Parameter Sets: (All)
6767
Aliases:
6868
Applicable: Security & Compliance
6969

70-
Required: False
70+
Required: True
7171
Position: Named
7272
Default value: None
7373
Accept pipeline input: False
7474
Accept wildcard characters: False
7575
```
7676
77-
### -Confirm
78-
The Confirm switch specifies whether to show or hide the confirmation prompt. How this switch affects the cmdlet depends on if the cmdlet requires confirmation before proceeding.
77+
### -Mode
78+
The Mode parameter specifies the action and notification level of the Discovery policy. Valid values are:
7979
80-
- Destructive cmdlets (for example, Remove-\* cmdlets) have a built-in pause that forces you to acknowledge the command before proceeding. For these cmdlets, you can skip the confirmation prompt by using this exact syntax: `-Confirm:$false`.
81-
- Most other cmdlets (for example, New-\* and Set-\* cmdlets) don't have a built-in pause. For these cmdlets, specifying the Confirm switch without a value introduces a pause that forces you acknowledge the command before proceeding.
80+
- Enable: The policy is enabled for actions and notifications. This is the default value.
81+
- Disable: The policy is disabled.
8282
8383
```yaml
84-
Type: SwitchParameter
84+
Type: Microsoft.Office.CompliancePolicy.Tasks.PolicyMode
8585
Parameter Sets: (All)
86-
Aliases: cf
86+
Aliases:
8787
Applicable: Security & Compliance
8888

89-
Required: False
89+
Required: True
9090
Position: Named
9191
Default value: None
9292
Accept pipeline input: False
9393
Accept wildcard characters: False
9494
```
9595
96-
### -Locations
97-
{{ Fill Locations Description }}
96+
### -ScenarioConfig
97+
{{ Fill ScenarioConfig Description }}
9898
9999
```yaml
100100
Type: String
101101
Parameter Sets: (All)
102102
Aliases:
103103
Applicable: Security & Compliance
104104

105-
Required: False
105+
Required: True
106106
Position: Named
107107
Default value: None
108108
Accept pipeline input: False
109109
Accept wildcard characters: False
110110
```
111111
112-
### -Mode
113-
The Mode parameter specifies the action and notification level of the Discovery policy. Valid values are:
114-
115-
- Enable: The policy is enabled for actions and notifications. This is the default value.
116-
- Disable: The policy is disabled.
117-
- TestWithNotifications: Simulation mode where no actions are taken, but notifications **are** sent.
118-
- TestWithoutNotifications: Simulation mode where no actions are taken, and no notifications are sent.
112+
### -Comment
113+
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".
119114
120115
```yaml
121-
Type: Microsoft.Office.CompliancePolicy.Tasks.PolicyMode
116+
Type: String
122117
Parameter Sets: (All)
123118
Aliases:
124119
Applicable: Security & Compliance
125120

126-
Required: True
121+
Required: False
127122
Position: Named
128123
Default value: None
129124
Accept pipeline input: False
130125
Accept wildcard characters: False
131126
```
132127
133-
### -Scenario
134-
The Scenario parameter specifies the scenario for the Discovery policy. Currently, the only valid value is KnowYourData.
128+
### -Confirm
129+
The Confirm switch specifies whether to show or hide the confirmation prompt. How this switch affects the cmdlet depends on if the cmdlet requires confirmation before proceeding.
130+
131+
- Destructive cmdlets (for example, Remove-\* cmdlets) have a built-in pause that forces you to acknowledge the command before proceeding. For these cmdlets, you can skip the confirmation prompt by using this exact syntax: `-Confirm:$false`.
132+
- Most other cmdlets (for example, New-\* and Set-\* cmdlets) don't have a built-in pause. For these cmdlets, specifying the Confirm switch without a value introduces a pause that forces you acknowledge the command before proceeding.
135133

136134
```yaml
137-
Type: icrosoft.Office.CompliancePolicy.Tasks.FeatureConfigurationScenario
135+
Type: SwitchParameter
138136
Parameter Sets: (All)
139-
Aliases:
137+
Aliases: cf
140138
Applicable: Security & Compliance
141139
142-
Required: True
140+
Required: False
143141
Position: Named
144142
Default value: None
145143
Accept pipeline input: False
146144
Accept wildcard characters: False
147145
```
148146

149-
### -ScenarioConfig
150-
{{ Fill ScenarioConfig Description }}
147+
### -Locations
148+
{{ Fill Locations Description }}
151149

152150
```yaml
153151
Type: String
154152
Parameter Sets: (All)
155153
Aliases:
156154
Applicable: Security & Compliance
157155
158-
Required: True
156+
Required: False
159157
Position: Named
160158
Default value: None
161159
Accept pipeline input: False

exchange/exchange-ps/exchange/Set-FeatureConfiguration.md

Lines changed: 0 additions & 85 deletions
Original file line numberDiff line numberDiff line change
@@ -24,73 +24,6 @@ For information about the parameter sets in the Syntax section below, see [Excha
2424
Set-FeatureConfiguration [-Identity] <Microsoft.Office.CompliancePolicy.Tasks.PolicyIdParameter> [-Locations <String>] [-Comment <String>]
2525
[-Confirm]
2626
[-Mode <Microsoft.Office.CompliancePolicy.Tasks.PolicyMode>]
27-
[-Scenario <Microsoft.Office.CompliancePolicy.Tasks.FeatureConfigurationScenario>]
28-
[-ScenarioConfig <String>]
29-
[-WhatIf]
30-
[<CommonParameters>]
31-
```
32-
33-
### AdaptiveScopeLocation
34-
```
35-
Set-FeatureConfiguration [-Identity] <Microsoft.Office.CompliancePolicy.Tasks.PolicyIdParameter> [-Comment <String>]
36-
[-Confirm]
37-
[-Mode <Microsoft.Office.CompliancePolicy.Tasks.PolicyMode>]
38-
[-Scenario <Microsoft.Office.CompliancePolicy.Tasks.FeatureConfigurationScenario>]
39-
[-ScenarioConfig <String>]
40-
[-WhatIf]
41-
[<CommonParameters>]
42-
```
43-
44-
### TeamLocation
45-
```
46-
Set-FeatureConfiguration [-Identity] <Microsoft.Office.CompliancePolicy.Tasks.PolicyIdParameter> [-Comment <String>]
47-
[-Confirm]
48-
[-Mode <Microsoft.Office.CompliancePolicy.Tasks.PolicyMode>]
49-
[-Scenario <Microsoft.Office.CompliancePolicy.Tasks.FeatureConfigurationScenario>]
50-
[-ScenarioConfig <String>]
51-
[-WhatIf]
52-
[<CommonParameters>]
53-
```
54-
55-
### OrganizationSegmentsDefault
56-
```
57-
Set-FeatureConfiguration [-Identity] <Microsoft.Office.CompliancePolicy.Tasks.PolicyIdParameter>
58-
[-Confirm]
59-
[-Mode <Microsoft.Office.CompliancePolicy.Tasks.PolicyMode>]
60-
[-Scenario <Microsoft.Office.CompliancePolicy.Tasks.FeatureConfigurationScenario>]
61-
[-ScenarioConfig <String>]
62-
[-WhatIf]
63-
[<CommonParameters>]
64-
```
65-
66-
### InformationBarrierDefault
67-
```
68-
Set-FeatureConfiguration [-Identity] <Microsoft.Office.CompliancePolicy.Tasks.PolicyIdParameter>
69-
[-Confirm]
70-
[-Mode <Microsoft.Office.CompliancePolicy.Tasks.PolicyMode>]
71-
[-Scenario <Microsoft.Office.CompliancePolicy.Tasks.FeatureConfigurationScenario>]
72-
[-ScenarioConfig <String>]
73-
[-WhatIf]
74-
[<CommonParameters>]
75-
```
76-
77-
### DisableRestrictiveRetentionParameterSet
78-
```
79-
Set-FeatureConfiguration [-Identity] <Microsoft.Office.CompliancePolicy.Tasks.PolicyIdParameter>
80-
[-Confirm]
81-
[-Mode <Microsoft.Office.CompliancePolicy.Tasks.PolicyMode>]
82-
[-Scenario <Microsoft.Office.CompliancePolicy.Tasks.FeatureConfigurationScenario>]
83-
[-ScenarioConfig <String>]
84-
[-WhatIf]
85-
[<CommonParameters>]
86-
```
87-
88-
### RetryDistributionParameterSet
89-
```
90-
Set-FeatureConfiguration [-Identity] <Microsoft.Office.CompliancePolicy.Tasks.PolicyIdParameter>
91-
[-Confirm]
92-
[-Mode <Microsoft.Office.CompliancePolicy.Tasks.PolicyMode>]
93-
[-Scenario <Microsoft.Office.CompliancePolicy.Tasks.FeatureConfigurationScenario>]
9427
[-ScenarioConfig <String>]
9528
[-WhatIf]
9629
[<CommonParameters>]
@@ -186,8 +119,6 @@ The Mode parameter specifies the action and notification level of the Discovery
186119

187120
- Enable: The policy is enabled for actions and notifications. This is the default value.
188121
- Disable: The policy is disabled.
189-
- TestWithNotifications: Simulation mode where no actions are taken, but notifications **are** sent.
190-
- TestWithoutNotifications: Simulation mode where no actions are taken, and no notifications are sent.
191122

192123
```yaml
193124
Type: Microsoft.Office.CompliancePolicy.Tasks.PolicyMode
@@ -202,22 +133,6 @@ Accept pipeline input: False
202133
Accept wildcard characters: False
203134
```
204135

205-
### -Scenario
206-
The Scenario parameter specifies the scenario for the Discovery policy. Currently, the only valid value is KnowYourData.
207-
208-
```yaml
209-
Type: Microsoft.Office.CompliancePolicy.Tasks.FeatureConfigurationScenario
210-
Parameter Sets: (All)
211-
Aliases:
212-
Applicable: Security & Compliance
213-
214-
Required: False
215-
Position: Named
216-
Default value: None
217-
Accept pipeline input: False
218-
Accept wildcard characters: False
219-
```
220-
221136
### -ScenarioConfig
222137
{{ Fill ScenarioConfig Description }}
223138

0 commit comments

Comments
 (0)