Skip to content

Commit 6fa34da

Browse files
committed
Made Position 1 params first
1 parent 74ab8d4 commit 6fa34da

File tree

134 files changed

+3188
-3206
lines changed

Some content is hidden

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

134 files changed

+3188
-3206
lines changed

exchange/exchange-ps/exchange/Add-PublicFolderAdministrativePermission.md

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -78,74 +78,74 @@ This example denies the user Chris the ViewInformationStore permission.
7878

7979
## PARAMETERS
8080

81-
### -AccessRights
82-
The AccessRights parameter specifies the rights that are being added. Valid values include:
81+
### -Identity
82+
The Identity parameter specifies the GUID or public folder name that represents a specific public folder. You can also include the path using the format TopLevelPublicFolder\\PublicFolder.
8383

84-
- None The administrator has no rights to modify public folder attributes.
85-
- ModifyPublicFolderACL The administrator has the right to modify client access permissions for the specified folder.
86-
- ModifyPublicFolderAdminACL The administrator has the right to modify administrator permissions for the specified public folder.
87-
- ModifyPublicFolderDeletedItemRetention The administrator has the right to modify the Public Folder Deleted Item Retention attributes (RetainDeletedItemsFor and UseDatabaseRetentionDefaults).
88-
- ModifyPublicFolderExpiry The administrator has the right to modify the Public Folder Expiration attributes (AgeLimit and UseDatabaseAgeDefaults).
89-
- ModifyPublicFolderQuotas The administrator has the right to modify the Public Folder Quota attributes (MaxItemSize, PostQuota, PostWarningQuota, and UseDatabaseQuotaDefaults)
90-
- ModifyPublicFolderReplicaList The administrator has the right to modify the replica list attribute for the specified public folder (Replicas).
91-
- AdministerInformationStore The administrator has the right to modify all other public folder properties that aren't defined previously.
92-
- ViewInformationStore The administrator has the right to view public folder properties.
93-
- AllExtendedRights The administrator has the right to modify all public folder properties.
84+
You can omit the parameter label so that only the public folder name or GUID is supplied.
9485

9586
```yaml
96-
Type: MultiValuedProperty
97-
Parameter Sets: Identity
87+
Type: PublicFolderIdParameter
88+
Parameter Sets: Identity, Owner
9889
Aliases:
9990
Applicable: Exchange Server 2010
10091

10192
Required: True
102-
Position: Named
93+
Position: 1
10394
Default value: None
104-
Accept pipeline input: False
95+
Accept pipeline input: True
10596
Accept wildcard characters: False
10697
```
10798
10899
```yaml
109-
Type: MultiValuedProperty
100+
Type: PublicFolderIdParameter
110101
Parameter Sets: Instance
111102
Aliases:
112103
Applicable: Exchange Server 2010
113104

114105
Required: False
115-
Position: Named
106+
Position: 1
116107
Default value: None
117-
Accept pipeline input: False
108+
Accept pipeline input: True
118109
Accept wildcard characters: False
119110
```
120111
121-
### -Identity
122-
The Identity parameter specifies the GUID or public folder name that represents a specific public folder. You can also include the path using the format TopLevelPublicFolder\\PublicFolder.
112+
### -AccessRights
113+
The AccessRights parameter specifies the rights that are being added. Valid values include:
123114
124-
You can omit the parameter label so that only the public folder name or GUID is supplied.
115+
- None The administrator has no rights to modify public folder attributes.
116+
- ModifyPublicFolderACL The administrator has the right to modify client access permissions for the specified folder.
117+
- ModifyPublicFolderAdminACL The administrator has the right to modify administrator permissions for the specified public folder.
118+
- ModifyPublicFolderDeletedItemRetention The administrator has the right to modify the Public Folder Deleted Item Retention attributes (RetainDeletedItemsFor and UseDatabaseRetentionDefaults).
119+
- ModifyPublicFolderExpiry The administrator has the right to modify the Public Folder Expiration attributes (AgeLimit and UseDatabaseAgeDefaults).
120+
- ModifyPublicFolderQuotas The administrator has the right to modify the Public Folder Quota attributes (MaxItemSize, PostQuota, PostWarningQuota, and UseDatabaseQuotaDefaults)
121+
- ModifyPublicFolderReplicaList The administrator has the right to modify the replica list attribute for the specified public folder (Replicas).
122+
- AdministerInformationStore The administrator has the right to modify all other public folder properties that aren't defined previously.
123+
- ViewInformationStore The administrator has the right to view public folder properties.
124+
- AllExtendedRights The administrator has the right to modify all public folder properties.
125125
126126
```yaml
127-
Type: PublicFolderIdParameter
128-
Parameter Sets: Identity, Owner
127+
Type: MultiValuedProperty
128+
Parameter Sets: Identity
129129
Aliases:
130130
Applicable: Exchange Server 2010
131131

132132
Required: True
133-
Position: 1
133+
Position: Named
134134
Default value: None
135-
Accept pipeline input: True
135+
Accept pipeline input: False
136136
Accept wildcard characters: False
137137
```
138138
139139
```yaml
140-
Type: PublicFolderIdParameter
140+
Type: MultiValuedProperty
141141
Parameter Sets: Instance
142142
Aliases:
143143
Applicable: Exchange Server 2010
144144

145145
Required: False
146-
Position: 1
146+
Position: Named
147147
Default value: None
148-
Accept pipeline input: True
148+
Accept pipeline input: False
149149
Accept wildcard characters: False
150150
```
151151

exchange/exchange-ps/exchange/Enable-ExchangeCertificate.md

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,31 @@ Accept pipeline input: True
8787
Accept wildcard characters: False
8888
```
8989
90+
### -Identity
91+
The Identity parameter specifies the certificate that you want to configure. Valid values are:
92+
93+
- \<ServerNameOrFQDN\>\\\<Thumbprint\>
94+
- \<Thumbprint\>
95+
96+
You can find the thumbprint value by using the Get-ExchangeCertificate cmdlet.
97+
98+
You can't use this parameter with the Server parameter.
99+
100+
The Thumbprint parameter, not the Identity parameter, is the positional parameter for this cmdlet. Therefore, when you specify a thumbprint value by itself, the command uses that value for the Thumbprint parameter.
101+
102+
```yaml
103+
Type: ExchangeCertificateIdParameter
104+
Parameter Sets: Identity
105+
Aliases:
106+
Applicable: Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
107+
108+
Required: False
109+
Position: 1
110+
Default value: None
111+
Accept pipeline input: False
112+
Accept wildcard characters: False
113+
```
114+
90115
### -Services
91116
The Services parameter specifies the Exchange services that the certificate is enabled for. Valid values are:
92117
@@ -190,31 +215,6 @@ Accept pipeline input: False
190215
Accept wildcard characters: False
191216
```
192217

193-
### -Identity
194-
The Identity parameter specifies the certificate that you want to configure. Valid values are:
195-
196-
- \<ServerNameOrFQDN\>\\\<Thumbprint\>
197-
- \<Thumbprint\>
198-
199-
You can find the thumbprint value by using the Get-ExchangeCertificate cmdlet.
200-
201-
You can't use this parameter with the Server parameter.
202-
203-
The Thumbprint parameter, not the Identity parameter, is the positional parameter for this cmdlet. Therefore, when you specify a thumbprint value by itself, the command uses that value for the Thumbprint parameter.
204-
205-
```yaml
206-
Type: ExchangeCertificateIdParameter
207-
Parameter Sets: Identity
208-
Aliases:
209-
Applicable: Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
210-
211-
Required: False
212-
Position: 1
213-
Default value: None
214-
Accept pipeline input: False
215-
Accept wildcard characters: False
216-
```
217-
218218
### -NetworkServiceAllowed
219219
The NetworkServiceAllowed switch gives the built-in Network Service account permission to read the certificate's private key without enabling the certificate for SMTP. You don't need to specify a value with this switch.
220220

exchange/exchange-ps/exchange/Enable-MailContact.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -51,42 +51,42 @@ This example mail-enables an existing contact that isn't mail-enabled.
5151

5252
## PARAMETERS
5353

54-
### -ExternalEmailAddress
55-
The ExternalEmailAddress parameter specifies the target email address of the mail contact or mail user. By default, this value is used as the primary email address of the mail contact or mail user.
54+
### -Identity
55+
The Identity parameter specifies the non-mail-enabled contact that you want to mail-enable. You can use any value that uniquely identifies the contact. For example:
5656

57-
In on-premises environments, you can use the PrimarySMTPAddress parameter to set the primary email address to a different value. However, we recommend this only in cross-forest environments.
57+
- Name
58+
- Distinguished name (DN)
59+
- Canonical DN
60+
- GUID
5861

5962
```yaml
60-
Type: ProxyAddress
63+
Type: ContactIdParameter
6164
Parameter Sets: (All)
6265
Aliases:
6366
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
6467

6568
Required: True
66-
Position: Named
69+
Position: 1
6770
Default value: None
68-
Accept pipeline input: False
71+
Accept pipeline input: True
6972
Accept wildcard characters: False
7073
```
7174
72-
### -Identity
73-
The Identity parameter specifies the non-mail-enabled contact that you want to mail-enable. You can use any value that uniquely identifies the contact. For example:
75+
### -ExternalEmailAddress
76+
The ExternalEmailAddress parameter specifies the target email address of the mail contact or mail user. By default, this value is used as the primary email address of the mail contact or mail user.
7477
75-
- Name
76-
- Distinguished name (DN)
77-
- Canonical DN
78-
- GUID
78+
In on-premises environments, you can use the PrimarySMTPAddress parameter to set the primary email address to a different value. However, we recommend this only in cross-forest environments.
7979
8080
```yaml
81-
Type: ContactIdParameter
81+
Type: ProxyAddress
8282
Parameter Sets: (All)
8383
Aliases:
8484
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
8585

8686
Required: True
87-
Position: 1
87+
Position: Named
8888
Default value: None
89-
Accept pipeline input: True
89+
Accept pipeline input: False
9090
Accept wildcard characters: False
9191
```
9292

exchange/exchange-ps/exchange/Export-DlpPolicyCollection.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,22 @@ This example exports all the elements of the existing DLP policies to the file C
4444

4545
## PARAMETERS
4646

47+
### -Identity
48+
The Identity parameter specifies the DLP policy you want to export. You can use any value that uniquely identifies the DLP policy. For example, you can specify the name, GUID or distinguished name (DN) of the DLP policy.
49+
50+
```yaml
51+
Type: DlpPolicyIdParameter
52+
Parameter Sets: (All)
53+
Aliases:
54+
Applicable: Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online
55+
56+
Required: False
57+
Position: 1
58+
Default value: None
59+
Accept pipeline input: True
60+
Accept wildcard characters: False
61+
```
62+
4763
### -Confirm
4864
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.
4965
@@ -81,22 +97,6 @@ Accept pipeline input: False
8197
Accept wildcard characters: False
8298
```
8399

84-
### -Identity
85-
The Identity parameter specifies the DLP policy you want to export. You can use any value that uniquely identifies the DLP policy. For example, you can specify the name, GUID or distinguished name (DN) of the DLP policy.
86-
87-
```yaml
88-
Type: DlpPolicyIdParameter
89-
Parameter Sets: (All)
90-
Aliases:
91-
Applicable: Exchange Server 2013, Exchange Server 2016, Exchange Server 2019, Exchange Online
92-
93-
Required: False
94-
Position: 1
95-
Default value: None
96-
Accept pipeline input: True
97-
Accept wildcard characters: False
98-
```
99-
100100
### -WhatIf
101101
The WhatIf switch simulates the actions of the command. You can use this switch to view the changes that would occur without actually applying those changes. You don't need to specify a value with this switch.
102102

exchange/exchange-ps/exchange/Export-ExchangeCertificate.md

Lines changed: 41 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,31 @@ Accept pipeline input: True
104104
Accept wildcard characters: False
105105
```
106106
107+
### -Identity
108+
The Identity parameter specifies the certificate or certificate request that you want to export. Valid values are:
109+
110+
- \<ServerNameOrFQDN\>\\\<Thumbprint\>
111+
- \<Thumbprint\>
112+
113+
You can find the thumbprint value by using the Get-ExchangeCertificate cmdlet.
114+
115+
You can't use this parameter with the Server parameter.
116+
117+
The Thumbprint parameter, not the Identity parameter, is the positional parameter for this cmdlet. Therefore, when you specify a thumbprint value by itself, the command uses that value for the Thumbprint parameter.
118+
119+
```yaml
120+
Type: ExchangeCertificateIdParameter
121+
Parameter Sets: Identity
122+
Aliases:
123+
Applicable: Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
124+
125+
Required: False
126+
Position: 1
127+
Default value: None
128+
Accept pipeline input: False
129+
Accept wildcard characters: False
130+
```
131+
107132
### -BinaryEncoded
108133
The BinaryEncoded switch encodes the exported certificate or certificate request file by using Distinguished Encoding Rules (DER). You don't need to specify a value with this switch.
109134
@@ -159,6 +184,22 @@ Accept pipeline input: False
159184
Accept wildcard characters: False
160185
```
161186

187+
### -FileName
188+
The FileName parameter specifies the name and path of the exported certificate or certificate request file. You can use a local path if the certificate or certificate request is located on the same Exchange server where you're running the command. Otherwise, use a UNC path (`\\<Server>\<Share>`). If the value contains spaces, enclose the value in quotation marks (").
189+
190+
```yaml
191+
Type: String
192+
Parameter Sets: (All)
193+
Aliases:
194+
Applicable: Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
195+
196+
Required: False
197+
Position: Named
198+
Default value: None
199+
Accept pipeline input: False
200+
Accept wildcard characters: False
201+
```
202+
162203
### -Password
163204
The Password parameter specifies the password for the private key or chain of trust in the exported certificate file. To import the exported certificate file on another server, you need to know the password.
164205

@@ -218,47 +259,6 @@ Accept pipeline input: False
218259
Accept wildcard characters: False
219260
```
220261

221-
### -FileName
222-
The FileName parameter specifies the name and path of the exported certificate or certificate request file. You can use a local path if the certificate or certificate request is located on the same Exchange server where you're running the command. Otherwise, use a UNC path (`\\<Server>\<Share>`). If the value contains spaces, enclose the value in quotation marks (").
223-
224-
```yaml
225-
Type: String
226-
Parameter Sets: (All)
227-
Aliases:
228-
Applicable: Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
229-
230-
Required: False
231-
Position: Named
232-
Default value: None
233-
Accept pipeline input: False
234-
Accept wildcard characters: False
235-
```
236-
237-
### -Identity
238-
The Identity parameter specifies the certificate or certificate request that you want to export. Valid values are:
239-
240-
- \<ServerNameOrFQDN\>\\\<Thumbprint\>
241-
- \<Thumbprint\>
242-
243-
You can find the thumbprint value by using the Get-ExchangeCertificate cmdlet.
244-
245-
You can't use this parameter with the Server parameter.
246-
247-
The Thumbprint parameter, not the Identity parameter, is the positional parameter for this cmdlet. Therefore, when you specify a thumbprint value by itself, the command uses that value for the Thumbprint parameter.
248-
249-
```yaml
250-
Type: ExchangeCertificateIdParameter
251-
Parameter Sets: Identity
252-
Aliases:
253-
Applicable: Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
254-
255-
Required: False
256-
Position: 1
257-
Default value: None
258-
Accept pipeline input: False
259-
Accept wildcard characters: False
260-
```
261-
262262
### CommonParameters
263263
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).
264264

0 commit comments

Comments
 (0)