Skip to content

Commit ef1d49c

Browse files
authored
Merge pull request #12956 from MicrosoftDocs/rollback-to-12926
Rollback repo to state immediately after PR #12926
2 parents 4071432 + b28d3f0 commit ef1d49c

File tree

2,058 files changed

+57848
-97559
lines changed

Some content is hidden

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

2,058 files changed

+57848
-97559
lines changed

.openpublishing.redirection.exchange.json

Lines changed: 1311 additions & 8346 deletions
Large diffs are not rendered by default.

.openpublishing.redirection.skype.json

Lines changed: 363 additions & 363 deletions
Large diffs are not rendered by default.

.openpublishing.redirection.teams.json

Lines changed: 1 addition & 3001 deletions
Large diffs are not rendered by default.

exchange/exchange-ps/ExchangePowerShell/Add-ADPermission.md renamed to exchange/exchange-ps/exchange/Add-ADPermission.md

Lines changed: 45 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
---
2-
applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
3-
author: chrisda
42
external help file: Microsoft.Exchange.ProvisioningAndMigration-Help.xml
5-
Locale: en-US
6-
Module Name: ExchangePowerShell
7-
ms.author: chrisda
83
online version: https://learn.microsoft.com/powershell/module/exchange/add-adpermission
9-
schema: 2.0.0
4+
applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
105
title: Add-ADPermission
6+
schema: 2.0.0
7+
author: chrisda
8+
ms.author: chrisda
9+
ms.reviewer:
1110
---
1211

1312
# Add-ADPermission
@@ -89,15 +88,13 @@ This example assumes that another security mechanism is used to ensure the Recei
8988
## PARAMETERS
9089

9190
### -Identity
92-
93-
> Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
94-
9591
The Identity parameter specifies the identity of the object that's getting permissions added. You can specify either the distinguished name (DN) of the object or the object's name if it's unique. If the DN or name contains spaces, enclose the name in quotation marks (").
9692

9793
```yaml
9894
Type: ADRawEntryIdParameter
99-
Parameter Sets: AccessRights, Owner, Instance
95+
Parameter Sets: AccessRights, Owner
10096
Aliases:
97+
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
10198

10299
Required: True
103100
Position: 1
@@ -106,16 +103,27 @@ Accept pipeline input: True
106103
Accept wildcard characters: False
107104
```
108105
109-
### -Instance
106+
```yaml
107+
Type: ADRawEntryIdParameter
108+
Parameter Sets: Instance
109+
Aliases:
110+
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
110111

111-
> Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
112+
Required: False
113+
Position: 1
114+
Default value: None
115+
Accept pipeline input: True
116+
Accept wildcard characters: False
117+
```
112118
119+
### -Instance
113120
The Instance parameter enables you to pass an entire object to the command to be processed. It's mainly used in scripts where an entire object must be passed to the command.
114121
115122
```yaml
116123
Type: ADAcePresentationObject
117124
Parameter Sets: Instance
118125
Aliases:
126+
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
119127

120128
Required: True
121129
Position: Named
@@ -125,9 +133,6 @@ Accept wildcard characters: False
125133
```
126134
127135
### -Owner
128-
129-
> Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
130-
131136
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:
132137
133138
- Mailbox users
@@ -153,6 +158,7 @@ You can't use this parameter with the AccessRights or User parameters.
153158
Type: SecurityPrincipalIdParameter
154159
Parameter Sets: Owner
155160
Aliases:
161+
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
156162

157163
Required: True
158164
Position: Named
@@ -162,9 +168,6 @@ Accept wildcard characters: False
162168
```
163169
164170
### -User
165-
166-
> Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
167-
168171
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:
169172
170173
- Mailbox users
@@ -193,8 +196,9 @@ You can't use this parameter with the Owner parameter.
193196

194197
```yaml
195198
Type: SecurityPrincipalIdParameter
196-
Parameter Sets: AccessRights, Instance
199+
Parameter Sets: AccessRights
197200
Aliases:
201+
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
198202
199203
Required: True
200204
Position: Named
@@ -203,10 +207,20 @@ Accept pipeline input: False
203207
Accept wildcard characters: False
204208
```
205209

206-
### -AccessRights
210+
```yaml
211+
Type: SecurityPrincipalIdParameter
212+
Parameter Sets: Instance
213+
Aliases:
214+
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
207215
208-
> Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
216+
Required: False
217+
Position: Named
218+
Default value: None
219+
Accept pipeline input: False
220+
Accept wildcard characters: False
221+
```
209222

223+
### -AccessRights
210224
The AccessRights parameter specifies the rights that you want to add for the user on the Active Directory object. Valid values include:
211225

212226
- AccessSystemSecurity
@@ -237,6 +251,7 @@ You can't use this parameter with the Owner parameter.
237251
Type: ActiveDirectoryRights[]
238252
Parameter Sets: AccessRights, Instance
239253
Aliases:
254+
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
240255
241256
Required: False
242257
Position: Named
@@ -246,9 +261,6 @@ Accept wildcard characters: False
246261
```
247262

248263
### -ChildObjectTypes
249-
250-
> Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
251-
252264
The ChildObjectTypes parameter specifies what type of object the permission should be applied to.
253265

254266
The ChildObjectTypes parameter can only be used if the AccessRights parameter is set to CreateChild or DeleteChild.
@@ -257,6 +269,7 @@ The ChildObjectTypes parameter can only be used if the AccessRights parameter is
257269
Type: ADSchemaObjectIdParameter[]
258270
Parameter Sets: AccessRights, Instance
259271
Aliases:
272+
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
260273
261274
Required: False
262275
Position: Named
@@ -266,9 +279,6 @@ Accept wildcard characters: False
266279
```
267280

268281
### -Confirm
269-
270-
> Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
271-
272282
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.
273283

274284
- 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`.
@@ -278,6 +288,7 @@ The Confirm switch specifies whether to show or hide the confirmation prompt. Ho
278288
Type: SwitchParameter
279289
Parameter Sets: (All)
280290
Aliases: cf
291+
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
281292
282293
Required: False
283294
Position: Named
@@ -287,15 +298,13 @@ Accept wildcard characters: False
287298
```
288299

289300
### -Deny
290-
291-
> Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
292-
293301
The Deny switch specifies that the permissions you're adding are Deny permissions. You don't need to specify a value with this switch.
294302

295303
```yaml
296304
Type: SwitchParameter
297305
Parameter Sets: AccessRights, Instance
298306
Aliases:
307+
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
299308
300309
Required: False
301310
Position: Named
@@ -305,9 +314,6 @@ Accept wildcard characters: False
305314
```
306315

307316
### -DomainController
308-
309-
> Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
310-
311317
The DomainController parameter specifies the ___domain controller that's used by this cmdlet to read data from or write data to Active Directory. You identify the ___domain controller by its fully qualified ___domain name (FQDN). For example, dc01.contoso.com.
312318

313319
The DomainController parameter isn't supported on Edge Transport servers. An Edge Transport server uses the local instance of Active Directory Lightweight Directory Services (AD LDS) to read and write data.
@@ -316,6 +322,7 @@ The DomainController parameter isn't supported on Edge Transport servers. An Edg
316322
Type: Fqdn
317323
Parameter Sets: (All)
318324
Aliases:
325+
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
319326
320327
Required: False
321328
Position: Named
@@ -325,15 +332,13 @@ Accept wildcard characters: False
325332
```
326333

327334
### -ExtendedRights
328-
329-
> Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
330-
331335
The ExtendedRights parameter specifies the extended rights needed to perform the operation.
332336

333337
```yaml
334338
Type: ExtendedRightIdParameter[]
335339
Parameter Sets: AccessRights, Instance
336340
Aliases:
341+
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
337342
338343
Required: False
339344
Position: Named
@@ -343,9 +348,6 @@ Accept wildcard characters: False
343348
```
344349

345350
### -InheritanceType
346-
347-
> Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
348-
349351
The InheritanceType parameter specifies how permissions are inherited. Valid values are:
350352

351353
- None
@@ -358,6 +360,7 @@ The InheritanceType parameter specifies how permissions are inherited. Valid val
358360
Type: ActiveDirectorySecurityInheritance
359361
Parameter Sets: AccessRights, Instance
360362
Aliases:
363+
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
361364
362365
Required: False
363366
Position: Named
@@ -367,15 +370,13 @@ Accept wildcard characters: False
367370
```
368371

369372
### -InheritedObjectType
370-
371-
> Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
372-
373373
The InheritedObjectType parameter specifies what kind of object inherits this access control entry (ACE).
374374

375375
```yaml
376376
Type: ADSchemaObjectIdParameter
377377
Parameter Sets: AccessRights, Instance
378378
Aliases:
379+
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
379380
380381
Required: False
381382
Position: Named
@@ -385,9 +386,6 @@ Accept wildcard characters: False
385386
```
386387

387388
### -Properties
388-
389-
> Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
390-
391389
The Properties parameter specifies what properties the object contains.
392390

393391
The Properties parameter can only be used if the AccessRights parameter is set to ReadProperty, WriteProperty or Self.
@@ -396,6 +394,7 @@ The Properties parameter can only be used if the AccessRights parameter is set t
396394
Type: ADSchemaObjectIdParameter[]
397395
Parameter Sets: AccessRights, Instance
398396
Aliases:
397+
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
399398
400399
Required: False
401400
Position: Named
@@ -405,15 +404,13 @@ Accept wildcard characters: False
405404
```
406405

407406
### -WhatIf
408-
409-
> Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
410-
411407
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.
412408

413409
```yaml
414410
Type: SwitchParameter
415411
Parameter Sets: (All)
416412
Aliases: wi
413+
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
417414
418415
Required: False
419416
Position: Named

0 commit comments

Comments
 (0)