Skip to content

Commit df78fc2

Browse files
authored
Merge branch 'master' into patch-339
2 parents 80e3453 + f1882b9 commit df78fc2

Some content is hidden

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

44 files changed

+628
-170
lines changed

exchange/exchange-ps/exchange/Add-ADPermission.md

Lines changed: 44 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,26 @@ Accept wildcard characters: False
133133
```
134134
135135
### -Owner
136-
The Owner parameter specifies the owner of the Active Directory object. If the name of the owner contains spaces, enclose the name in quotation marks (").
136+
The Owner parameter specifies the owner of the Active Directory object. You can specify the following types of users or groups (security principals) for this parameter:
137137
138-
The Owner parameter can only be used with the Identity parameter and no other parameters.
138+
- Mailbox users
139+
- Mail users
140+
- Security groups
141+
142+
You can use any value that uniquely identifies the user or group. For example:
143+
144+
- Name
145+
- Alias
146+
- Distinguished name (DN)
147+
- Canonical DN
148+
- Domain\\Username
149+
- Email address
150+
- GUID
151+
- LegacyExchangeDN
152+
- SamAccountName
153+
- User ID or user principal name (UPN)
154+
155+
You can't use this parameter with the AccessRights or User parameters.
139156
140157
```yaml
141158
Type: SecurityPrincipalIdParameter
@@ -151,7 +168,26 @@ Accept wildcard characters: False
151168
```
152169
153170
### -User
154-
The User parameter specifies the user that the permissions are being granted to on the object. If the name contains spaces, enclose the name in quotation marks (").
171+
The User parameter specifies who gets the permissions on the Active Directory object. You can specify the following types of users or groups (security principals) for this parameter:
172+
173+
- Mailbox users
174+
- Mail users
175+
- Security groups
176+
177+
You can use any value that uniquely identifies the user or group. For example:
178+
179+
- Name
180+
- Alias
181+
- Distinguished name (DN)
182+
- Canonical DN
183+
- Domain\\Username
184+
- Email address
185+
- GUID
186+
- LegacyExchangeDN
187+
- SamAccountName
188+
- User ID or user principal name (UPN)
189+
190+
You can't use this parameter with the Owner parameter.
155191
156192
```yaml
157193
Type: SecurityPrincipalIdParameter
@@ -180,7 +216,7 @@ Accept wildcard characters: False
180216
```
181217
182218
### -AccessRights
183-
The AccessRights parameter specifies the rights needed to perform the operation. Valid values include:
219+
The AccessRights parameter specifies the rights that you want to add for the user on the Active Directory object. Valid values include:
184220
185221
- AccessSystemSecurity
186222
- CreateChild
@@ -202,6 +238,10 @@ The AccessRights parameter specifies the rights needed to perform the operation.
202238
- GenericAll
203239
- Synchronize
204240
241+
You can specify multiple values separated by commas.
242+
243+
You can't use this parameter with the Owner parameter.
244+
205245
```yaml
206246
Type: ActiveDirectoryRights[]
207247
Parameter Sets: AccessRights, Instance

exchange/exchange-ps/exchange/Add-MailboxPermission.md

Lines changed: 34 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ Accept wildcard characters: False
139139
```
140140
141141
### -AccessRights
142-
The AccessRights parameter specifies the permission that you want to assign to the user on the mailbox. Valid values are:
142+
The AccessRights parameter specifies the permission that you want to add for the user on the mailbox. Valid values are:
143143
144144
- ChangeOwner
145145
- ChangePermission
@@ -150,6 +150,8 @@ The AccessRights parameter specifies the permission that you want to assign to t
150150
151151
You can specify multiple values separated by commas.
152152
153+
You can't use this parameter with the Owner parameter.
154+
153155
```yaml
154156
Type: MailboxRights[]
155157
Parameter Sets: AccessRights
@@ -195,14 +197,28 @@ Accept wildcard characters: False
195197
```
196198
197199
### -Owner
198-
The Owner parameter specifies the owner of the mailbox object. The default mailbox owner is NT AUTHORITY\\SELF.
200+
The Owner parameter specifies the owner of the mailbox object. You can specify the following types of users or groups (security principals) for this parameter:
201+
202+
- Mailbox users
203+
- Mail users
204+
- Security groups
199205
200-
The owner that you specify for this parameter must be a user or security group (a security principal that can have permissions assigned). You can use any value that uniquely identifies the owner. For example: For example:
206+
You can use any value that uniquely identifies the user or group. For example:
201207
202208
- Name
209+
- Alias
203210
- Distinguished name (DN)
204211
- Canonical DN
212+
- Domain\\Username
213+
- Email address
205214
- GUID
215+
- LegacyExchangeDN
216+
- SamAccountName
217+
- User ID or user principal name (UPN)
218+
219+
The default mailbox owner is NT AUTHORITY\\SELF.
220+
221+
You can't use this parameter with the AccessRights or User parameters.
206222
207223
```yaml
208224
Type: SecurityPrincipalIdParameter
@@ -218,14 +234,26 @@ Accept wildcard characters: False
218234
```
219235
220236
### -User
221-
The User parameter specifies the user that you're assigning the permission to.
237+
The User parameter specifies who gets the permissions on the mailbox. You can specify the following types of users or groups (security principals) for this parameter:
238+
239+
- Mailbox users
240+
- Mail users
241+
- Security groups
222242
223-
The user that you specify for this parameter must be a user or security group (a security principal that can have permissions assigned). You can use any value that uniquely identifies the user. For example: For example:
243+
You can use any value that uniquely identifies the user or group. For example:
224244
225245
- Name
246+
- Alias
226247
- Distinguished name (DN)
227248
- Canonical DN
249+
- Domain\\Username
250+
- Email address
228251
- GUID
252+
- LegacyExchangeDN
253+
- SamAccountName
254+
- User ID or user principal name (UPN)
255+
256+
You can't use this parameter with the Owner parameter.
229257
230258
```yaml
231259
Type: SecurityPrincipalIdParameter
@@ -330,7 +358,7 @@ Accept wildcard characters: False
330358
### -GroupMailbox
331359
This parameter is available only in the cloud-based service.
332360

333-
The GroupMailbox switch is required to modify Group Mailboxes in Exchange Online. You don't need to specify a value with this switch.
361+
The GroupMailbox switch is required to add permissions to a Microsoft 365 Group mailbox. You don't need to specify a value with this switch.
334362

335363
```yaml
336364
Type: SwitchParameter

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

Lines changed: 45 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ Accept wildcard characters: False
109109
```
110110
111111
### -AccessRights
112-
The AccessRights parameter specifies the rights that are being added. Valid values include:
112+
The AccessRights parameter specifies the rights that you want to add for the administrator on the public folder. Valid values include:
113113
114114
- None The administrator has no rights to modify public folder attributes.
115115
- ModifyPublicFolderACL The administrator has the right to modify client access permissions for the specified folder.
@@ -122,6 +122,10 @@ The AccessRights parameter specifies the rights that are being added. Valid valu
122122
- ViewInformationStore The administrator has the right to view public folder properties.
123123
- AllExtendedRights The administrator has the right to modify all public folder properties.
124124
125+
You can specify multiple values separated by commas.
126+
127+
You can't use this parameter with the Owner parameter.
128+
125129
```yaml
126130
Type: MultiValuedProperty
127131
Parameter Sets: Identity
@@ -165,7 +169,26 @@ Accept wildcard characters: False
165169
```
166170
167171
### -Owner
168-
The Owner parameter specifies the NT Owner access control list (ACL) on the object. Valid values are the user principal name (UPN), domain\\user, or alias.
172+
The Owner parameter specifies the owner of the public folder object. You can specify the following types of users or groups (security principals) for this parameter:
173+
174+
- Mailbox users
175+
- Mail users
176+
- Security groups
177+
178+
You can use any value that uniquely identifies the user or group. For example:
179+
180+
- Name
181+
- Alias
182+
- Distinguished name (DN)
183+
- Canonical DN
184+
- Domain\\Username
185+
- Email address
186+
- GUID
187+
- LegacyExchangeDN
188+
- SamAccountName
189+
- User ID or user principal name (UPN)
190+
191+
You can't use this parameter with the AccessRights or User parameters.
169192
170193
```yaml
171194
Type: SecurityPrincipalIdParameter
@@ -181,7 +204,26 @@ Accept wildcard characters: False
181204
```
182205
183206
### -User
184-
The User parameter specifies the UPN, domain\\user, or alias of the user for whom rights are being added.
207+
The User parameter specifies who gets the admin permissions on the public folder. You can specify the following types of users or groups:
208+
209+
- Mailbox users
210+
- Mail users
211+
- Security groups
212+
213+
You can use any value that uniquely identifies the user or group. For example:
214+
215+
- Name
216+
- Alias
217+
- Distinguished name (DN)
218+
- Canonical DN
219+
- Domain\\Username
220+
- Email address
221+
- GUID
222+
- LegacyExchangeDN
223+
- SamAccountName
224+
- User ID or user principal name (UPN)
225+
226+
You can't use this parameter with the Owner parameter.
185227
186228
```yaml
187229
Type: SecurityPrincipalIdParameter

exchange/exchange-ps/exchange/Add-PublicFolderClientPermission.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,11 @@ Accept wildcard characters: False
6969
```
7070
7171
### -AccessRights
72-
The AccessRights parameter specifies the rights being added. This parameter accepts the following values:
72+
The AccessRights parameter specifies the rights that you want to add for the user on the public folder.
73+
74+
You can specify individual folder permissions or roles, which are combinations of permissions. You can specify multiple permissions and roles separated by commas.
75+
76+
The following individual permissions are available:
7377
7478
- ReadItems: The user has the right to read items within the specified public folder.
7579
- CreateItems: The user has the right to create items within the specified public folder.

exchange/exchange-ps/exchange/Add-RecipientPermission.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ Accept wildcard characters: False
8282
```
8383
8484
### -AccessRights
85-
The AccessRights parameter specifies the permission. The only value for this parameter is SendAs.
85+
The AccessRights parameter specifies the permission that you want to add for the trustee on the target recipient. The only valid value for this parameter is SendAs.
8686
8787
```yaml
8888
Type: MultiValuedProperty
@@ -98,12 +98,10 @@ Accept wildcard characters: False
9898
```
9999
100100
### -Trustee
101-
The Trustee parameter specifies the user or group that receives SendAs permission on the recipient specified by the Identity parameter.
102-
103-
You can specify the following types of users or groups (security principals) for this parameter:
101+
The Trustee parameter specifies the user or group that receives SendAs permission on the recipient specified by the Identity parameter. You can specify the following types of users or groups (security principals) for this parameter:
104102
105103
- Mailbox users
106-
- Mail users with a Microsoft account (formerly known as a Windows Live ID)
104+
- Mail users with a Microsoft account
107105
- Security groups
108106
109107
You can use any value that uniquely identifies the user or group. For example:

exchange/exchange-ps/exchange/Add-RoleGroupMember.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,24 @@ Accept wildcard characters: False
8989
```
9090
9191
### -Member
92-
The Member parameter specifies the mailbox, USG, or computer to add to a role group. You can only specify one member at a time. If the member name contains spaces, enclose the name in quotation marks (").
92+
The Member parameter specifies who you want to add to the role group. You can specify the following types of users or groups (security principals) for this parameter:
93+
94+
- Mailbox users
95+
- Mail users
96+
- Security groups
97+
98+
You can use any value that uniquely identifies the user or group. For example:
99+
100+
- Name
101+
- Alias
102+
- Distinguished name (DN)
103+
- Canonical DN
104+
- Domain\\Username
105+
- Email address
106+
- GUID
107+
- LegacyExchangeDN
108+
- SamAccountName
109+
- User ID or user principal name (UPN)
93110
94111
```yaml
95112
Type: SecurityPrincipalIdParameter

exchange/exchange-ps/exchange/Disable-App.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,13 @@ Disable-App -Identity <GUID for FinanceTestApp> -Mailbox Tony
5252

5353
This example disables the administrator-installed app FinanceTestApp for user Tony.
5454

55+
### Example 3
56+
```powershell
57+
Disable-App -Identity 545d8236-721a-468f-85d8-254eca7cb0da -Mailbox Tony
58+
```
59+
60+
This example disables the Share to Teams app for user Tony.
61+
5562
## PARAMETERS
5663

5764
### -Identity

exchange/exchange-ps/exchange/Enable-App.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,13 @@ Enable-App -Identity <GUID for FinanceTestApp> -Mailbox Tony
5252

5353
This example enables the administrator-installed app FinanceTestApp for user Tony.
5454

55+
### Example 1
56+
```powershell
57+
Enable-App -Identity 545d8236-721a-468f-85d8-254eca7cb0da -Mailbox Tony
58+
```
59+
60+
This example enables the Share to Teams app for user Tony.
61+
5562
## PARAMETERS
5663

5764
### -Identity

exchange/exchange-ps/exchange/Get-ADPermission.md

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,9 @@ Accept wildcard characters: False
9494
```
9595
9696
### -Owner
97-
The Owner switch specifies that the owner of the object specified in the Identity parameter should be returned. If the Owner switch is used, the User parameter can't be used.
97+
The Owner switch returns the owner of the Active Directory object. You don't need to specify a value with this switch.
98+
99+
You can't use this switch with the User parameter.
98100
99101
```yaml
100102
Type: SwitchParameter
@@ -110,9 +112,26 @@ Accept wildcard characters: False
110112
```
111113
112114
### -User
113-
The User parameter specifies that only the access control entries (ACEs) granted to the specified user on the object specified in the Identity parameter should be returned. If the User parameter is used, the Owner switch can't be used.
114-
115-
If the name of the user contains spaces, enclose the name in quotation marks (").
115+
The user parameter filters the results who has permissions on the Active Directory object. You can specify the following types of users or groups (security principals) for this parameter:
116+
117+
- Mailbox users
118+
- Mail users
119+
- Security groups
120+
121+
You can use any value that uniquely identifies the user or group. For example:
122+
123+
- Name
124+
- Alias
125+
- Distinguished name (DN)
126+
- Canonical DN
127+
- Domain\\Username
128+
- Email address
129+
- GUID
130+
- LegacyExchangeDN
131+
- SamAccountName
132+
- User ID or user principal name (UPN)
133+
134+
You can't use this parameter with the Owner parameter.
116135
117136
```yaml
118137
Type: SecurityPrincipalIdParameter

0 commit comments

Comments
 (0)