Skip to content

Commit 2bc7faa

Browse files
committed
Parameter Set Fixes
1 parent a7f8a97 commit 2bc7faa

File tree

61 files changed

+2232
-1702
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+2232
-1702
lines changed

exchange/exchange-ps/exchange/devices/Get-ActiveSyncDevice.md

Lines changed: 31 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,24 @@ For information about the parameter sets in the Syntax section below, see Exchan
1919

2020
## SYNTAX
2121

22-
### Set2
22+
### Mailbox
2323
```
24-
Get-ActiveSyncDevice -Mailbox <MailboxIdParameter> [-DomainController <Fqdn>] [-Filter <String>]
24+
Get-ActiveSyncDevice -Mailbox <MailboxIdParameter>
25+
[-DomainController <Fqdn>]
26+
[-Filter <String>]
2527
[-OrganizationalUnit <OrganizationalUnitIdParameter>]
26-
[-ResultSize <Unlimited>] [-SortBy <String>] [-Monitoring] [<CommonParameters>]
28+
[-ResultSize <Unlimited>]
29+
[-SortBy <String>] [-Monitoring] [<CommonParameters>]
2730
```
2831

29-
### Set1
32+
### Identity
3033
```
31-
Get-ActiveSyncDevice [[-Identity] <ActiveSyncDeviceIdParameter>] [-DomainController <Fqdn>] [-Filter <String>]
34+
Get-ActiveSyncDevice [[-Identity] <ActiveSyncDeviceIdParameter>]
35+
[-DomainController <Fqdn>]
36+
[-Filter <String>]
3237
[-OrganizationalUnit <OrganizationalUnitIdParameter>]
33-
[-ResultSize <Unlimited>] [-SortBy <String>] [-Monitoring] [<CommonParameters>]
38+
[-ResultSize <Unlimited>]
39+
[-SortBy <String>] [-Monitoring] [<CommonParameters>]
3440
```
3541

3642
## DESCRIPTION
@@ -85,7 +91,7 @@ For example:
8591

8692
```yaml
8793
Type: MailboxIdParameter
88-
Parameter Sets: Set2
94+
Parameter Sets: Mailbox
8995
Aliases:
9096
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online
9197
Required: True
@@ -184,7 +190,7 @@ The Identity parameter specifies the ActiveSync device that you want to view. Yo
184190
185191
```yaml
186192
Type: ActiveSyncDeviceIdParameter
187-
Parameter Sets: Set1
193+
Parameter Sets: Identity
188194
Aliases:
189195
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online
190196
Required: False
@@ -194,6 +200,23 @@ Accept pipeline input: True
194200
Accept wildcard characters: False
195201
```
196202
203+
### -Monitoring
204+
This parameter is available only in on-premises Exchange.
205+
206+
The Monitoring parameter specifies whether mobile devices created by monitoring accounts are included in the Get-ActiveSyncDevice cmdlet output. The default value is $false.
207+
208+
```yaml
209+
Type: SwitchParameter
210+
Parameter Sets: (All)
211+
Aliases:
212+
Applicable: Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
213+
Required: False
214+
Position: Named
215+
Default value: None
216+
Accept pipeline input: False
217+
Accept wildcard characters: False
218+
```
219+
197220
### -OrganizationalUnit
198221
The OrganizationalUnit parameter filters the results based on the object's location in Active Directory. Only objects that exist in the specified location are returned. Valid input for this parameter is an organizational unit (OU) or domain that's visible using the Get-OrganizationalUnit cmdlet. You can use any value that uniquely identifies the OU or domain. For example:
199222
@@ -281,23 +304,6 @@ Accept pipeline input: False
281304
Accept wildcard characters: False
282305
```
283306
284-
### -Monitoring
285-
This parameter is available only in on-premises Exchange.
286-
287-
The Monitoring parameter specifies whether mobile devices created by monitoring accounts are included in the Get-ActiveSyncDevice cmdlet output. The default value is $false.
288-
289-
```yaml
290-
Type: SwitchParameter
291-
Parameter Sets: (All)
292-
Aliases:
293-
Applicable: Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
294-
Required: False
295-
Position: Named
296-
Default value: None
297-
Accept pipeline input: False
298-
Accept wildcard characters: False
299-
```
300-
301307
### CommonParameters
302308
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).
303309

exchange/exchange-ps/exchange/devices/Get-ActiveSyncDeviceStatistics.md

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,22 @@ For information about the parameter sets in the Syntax section below, see Exchan
1919

2020
## SYNTAX
2121

22-
### Set1
22+
### Identity
2323
```
24-
Get-ActiveSyncDeviceStatistics [-Identity] <ActiveSyncDeviceIdParameter> [-DomainController <Fqdn>]
25-
[-GetMailboxLog] [-NotificationEmailAddresses <MultiValuedProperty>] [-ShowRecoveryPassword]
26-
[<CommonParameters>]
24+
Get-ActiveSyncDeviceStatistics [-Identity] <ActiveSyncDeviceIdParameter>
25+
[-DomainController <Fqdn>]
26+
[-GetMailboxLog]
27+
[-NotificationEmailAddresses <MultiValuedProperty>]
28+
[-ShowRecoveryPassword] [<CommonParameters>]
2729
```
2830

29-
### Set2
31+
### Mailbox
3032
```
31-
Get-ActiveSyncDeviceStatistics -Mailbox <MailboxIdParameter> [-DomainController <Fqdn>] [-GetMailboxLog]
32-
[-NotificationEmailAddresses <MultiValuedProperty>] [-ShowRecoveryPassword] [<CommonParameters>]
33+
Get-ActiveSyncDeviceStatistics -Mailbox <MailboxIdParameter>
34+
[-DomainController <Fqdn>]
35+
[-GetMailboxLog]
36+
[-NotificationEmailAddresses <MultiValuedProperty>]
37+
[-ShowRecoveryPassword] [<CommonParameters>]
3338
```
3439

3540
## DESCRIPTION
@@ -67,7 +72,7 @@ The Identity parameter specifies the user's device ID. If the Mailbox parameter
6772

6873
```yaml
6974
Type: ActiveSyncDeviceIdParameter
70-
Parameter Sets: Set1
75+
Parameter Sets: Identity
7176
Aliases:
7277
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online
7378
Required: True
@@ -82,7 +87,7 @@ The Mailbox parameter specifies the user mailbox for which you want to retrieve
8287
8388
```yaml
8489
Type: MailboxIdParameter
85-
Parameter Sets: Set2
90+
Parameter Sets: Mailbox
8691
Aliases:
8792
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online
8893
Required: True

exchange/exchange-ps/exchange/devices/Get-MobileDevice.md

Lines changed: 26 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,34 @@ For information about the parameter sets in the Syntax section below, see Exchan
1717

1818
## SYNTAX
1919

20-
### Set2
20+
### Mailbox
2121
```
22-
Get-MobileDevice -Mailbox <MailboxIdParameter> [-ActiveSync] [-DomainController <Fqdn>] [-Filter <String>]
23-
[-Monitoring] [-OrganizationalUnit <OrganizationalUnitIdParameter>] [-OWAforDevices] [-ResultSize <Unlimited>]
24-
[-SortBy <String>] [-RestApi] [-UniversalOutlook] [<CommonParameters>]
22+
Get-MobileDevice -Mailbox <MailboxIdParameter>
23+
[-ActiveSync]
24+
[-DomainController <Fqdn>]
25+
[-Filter <String>]
26+
[-Monitoring]
27+
[-OrganizationalUnit <OrganizationalUnitIdParameter>]
28+
[-OWAforDevices]
29+
[-ResultSize <Unlimited>]
30+
[-SortBy <String>]
31+
[-RestApi]
32+
[-UniversalOutlook] [<CommonParameters>]
2533
```
2634

27-
### Set1
35+
### Identity
2836
```
29-
Get-MobileDevice [[-Identity] <MobileDeviceIdParameter>] [-ActiveSync] [-DomainController <Fqdn>]
30-
[-Filter <String>] [-Monitoring] [-OrganizationalUnit <OrganizationalUnitIdParameter>] [-OWAforDevices]
31-
[-ResultSize <Unlimited>] [-SortBy <String>] [-RestApi] [-UniversalOutlook] [<CommonParameters>]
37+
Get-MobileDevice [[-Identity] <MobileDeviceIdParameter>]
38+
[-ActiveSync]
39+
[-DomainController <Fqdn>]
40+
[-Filter <String>]
41+
[-Monitoring]
42+
[-OrganizationalUnit <OrganizationalUnitIdParameter>]
43+
[-OWAforDevices]
44+
[-ResultSize <Unlimited>]
45+
[-SortBy <String>]
46+
[-RestApi]
47+
[-UniversalOutlook] [<CommonParameters>]
3248
```
3349

3450
## DESCRIPTION
@@ -91,7 +107,7 @@ For example:
91107

92108
```yaml
93109
Type: MailboxIdParameter
94-
Parameter Sets: Set2
110+
Parameter Sets: Mailbox
95111
Aliases:
96112
Applicable: Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online
97113
Required: True
@@ -205,7 +221,7 @@ The Identity parameter specifies the mobile device that you want to view. You ca
205221
206222
```yaml
207223
Type: MobileDeviceIdParameter
208-
Parameter Sets: Set1
224+
Parameter Sets: Identity
209225
Aliases:
210226
Applicable: Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online
211227
Required: False

exchange/exchange-ps/exchange/devices/Get-MobileDeviceStatistics.md

Lines changed: 22 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,30 @@ For information about the parameter sets in the Syntax section below, see Exchan
1717

1818
## SYNTAX
1919

20-
### Set1
20+
### Identity
2121
```
22-
Get-MobileDeviceStatistics [-Identity] <MobileDeviceIdParameter> [-ActiveSync] [-DomainController <Fqdn>]
23-
[-GetMailboxLog] [-NotificationEmailAddresses <MultiValuedProperty>] [-OWAforDevices] [-ShowRecoveryPassword]
24-
[-RestApi] [-UniversalOutlook] [<CommonParameters>]
22+
Get-MobileDeviceStatistics [-Identity] <MobileDeviceIdParameter>
23+
[-ActiveSync]
24+
[-DomainController <Fqdn>]
25+
[-GetMailboxLog]
26+
[-NotificationEmailAddresses <MultiValuedProperty>]
27+
[-OWAforDevices]
28+
[-ShowRecoveryPassword]
29+
[-RestApi]
30+
[-UniversalOutlook] [<CommonParameters>]
2531
```
2632

27-
### Set2
33+
### Mailbox
2834
```
29-
Get-MobileDeviceStatistics -Mailbox <MailboxIdParameter> [-ActiveSync] [-DomainController <Fqdn>]
30-
[-GetMailboxLog] [-NotificationEmailAddresses <MultiValuedProperty>] [-OWAforDevices] [-ShowRecoveryPassword]
31-
[-RestApi] [-UniversalOutlook] [<CommonParameters>]
35+
Get-MobileDeviceStatistics -Mailbox <MailboxIdParameter>
36+
[-ActiveSync]
37+
[-DomainController <Fqdn>]
38+
[-GetMailboxLog]
39+
[-NotificationEmailAddresses <MultiValuedProperty>]
40+
[-OWAforDevices]
41+
[-ShowRecoveryPassword]
42+
[-RestApi]
43+
[-UniversalOutlook] [<CommonParameters>]
3244
```
3345

3446
## DESCRIPTION
@@ -66,7 +78,7 @@ The Identity parameter specifies the user's device ID. If the Mailbox parameter
6678

6779
```yaml
6880
Type: MobileDeviceIdParameter
69-
Parameter Sets: Set1
81+
Parameter Sets: Identity
7082
Aliases:
7183
Applicable: Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online
7284
Required: True
@@ -81,7 +93,7 @@ The Mailbox parameter specifies the user mailbox for which you want to retrieve
8193
8294
```yaml
8395
Type: MailboxIdParameter
84-
Parameter Sets: Set2
96+
Parameter Sets: Mailbox
8597
Aliases:
8698
Applicable: Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online
8799
Required: True

exchange/exchange-ps/exchange/devices/Set-DeviceConditionalAccessPolicy.md

Lines changed: 12 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,18 @@ For information about the parameter sets in the Syntax section below, see Exchan
1717

1818
## SYNTAX
1919

20-
### Set2
20+
### RetryDistribution
2121
```
22-
Set-DeviceConditionalAccessPolicy [-Identity] <PolicyIdParameter> [-RetryDistribution] [-Confirm]
23-
[-Name <String>] [-WhatIf] [<CommonParameters>]
22+
Set-DeviceConditionalAccessPolicy [-Identity] <PolicyIdParameter> [-RetryDistribution]
23+
[-Confirm]
24+
[-WhatIf] [<CommonParameters>]
2425
```
2526

26-
### Set1
27+
### Identity
2728
```
28-
Set-DeviceConditionalAccessPolicy [-Identity] <PolicyIdParameter> [-Comment <String>] [-Confirm]
29-
[-Enabled <$true | $false>] [-Force] [-Name <String>] [-WhatIf] [<CommonParameters>]
29+
Set-DeviceConditionalAccessPolicy [-Identity] <PolicyIdParameter> [-Comment <String>] [-Enabled <$true | $false>] [-Force]
30+
[-Confirm]
31+
[-WhatIf] [<CommonParameters>]
3032
```
3133

3234
## DESCRIPTION
@@ -79,7 +81,7 @@ This parameter is reserved for internal Microsoft use.
7981
8082
```yaml
8183
Type: SwitchParameter
82-
Parameter Sets: Set2
84+
Parameter Sets: RetryDistribution
8385
Aliases:
8486
Applicable: Office 365 Security & Compliance Center
8587
Required: True
@@ -94,7 +96,7 @@ The Comment parameter specifies an optional comment. If you specify a value that
9496
9597
```yaml
9698
Type: String
97-
Parameter Sets: Set1
99+
Parameter Sets: Identity
98100
Aliases:
99101
Applicable: Office 365 Security & Compliance Center
100102
Required: False
@@ -132,7 +134,7 @@ The Enabled parameter specifies whether the policy is enabled. Valid values are:
132134
133135
```yaml
134136
Type: $true | $false
135-
Parameter Sets: Set1
137+
Parameter Sets: Identity
136138
Aliases:
137139
Applicable: Office 365 Security & Compliance Center
138140
Required: False
@@ -147,22 +149,7 @@ The Force switch specifies whether to suppress warning or confirmation messages.
147149
148150
```yaml
149151
Type: SwitchParameter
150-
Parameter Sets: Set1
151-
Aliases:
152-
Applicable: Office 365 Security & Compliance Center
153-
Required: False
154-
Position: Named
155-
Default value: None
156-
Accept pipeline input: False
157-
Accept wildcard characters: False
158-
```
159-
160-
### -Name
161-
This parameter is reserved for internal Microsoft use.
162-
163-
```yaml
164-
Type: String
165-
Parameter Sets: (All)
152+
Parameter Sets: Identity
166153
Aliases:
167154
Applicable: Office 365 Security & Compliance Center
168155
Required: False

0 commit comments

Comments
 (0)