@@ -17,31 +17,44 @@ For information about the parameter sets in the Syntax section below, see Exchan
17
17
18
18
## SYNTAX
19
19
20
- ### Set1
20
+ ### AccessRights
21
21
```
22
22
Add-ADPermission [-Identity] <ADRawEntryIdParameter> -User <SecurityPrincipalIdParameter>
23
- [-AccessRights <ActiveDirectoryRights[]>] [-ChildObjectTypes <ADSchemaObjectIdParameter[]>] [-Confirm] [-Deny]
24
- [-DomainController <Fqdn>] [-ExtendedRights <ExtendedRightIdParameter[]>]
23
+ [-AccessRights <ActiveDirectoryRights[]>]
24
+ [-ChildObjectTypes <ADSchemaObjectIdParameter[]>]
25
+ [-Confirm]
26
+ [-Deny]
27
+ [-DomainController <Fqdn>]
28
+ [-ExtendedRights <ExtendedRightIdParameter[]>]
25
29
[-InheritanceType <None | All | Descendents | SelfAndChildren | Children>]
26
- [-InheritedObjectType <ADSchemaObjectIdParameter>] [-Properties <ADSchemaObjectIdParameter[]>] [-WhatIf]
27
- [<CommonParameters>]
30
+ [-InheritedObjectType <ADSchemaObjectIdParameter>]
31
+ [-Properties <ADSchemaObjectIdParameter[]>]
32
+ [-WhatIf] [<CommonParameters>]
28
33
```
29
34
30
- ### Set2
35
+ ### Owner
31
36
```
32
- Add-ADPermission [-Identity] <ADRawEntryIdParameter> -Owner <SecurityPrincipalIdParameter> [-Confirm]
33
- [-DomainController <Fqdn>] [-WhatIf] [<CommonParameters>]
37
+ Add-ADPermission [-Identity] <ADRawEntryIdParameter> -Owner <SecurityPrincipalIdParameter>
38
+ [-Confirm]
39
+ [-DomainController <Fqdn>]
40
+ [-WhatIf] [<CommonParameters>]
34
41
```
35
42
36
- ### Set3
43
+ ### Instance
37
44
```
38
- Add-ADPermission [[-Identity] <ADRawEntryIdParameter>] -Instance <ADAcePresentationObject>
39
- [-User <SecurityPrincipalIdParameter>] [-AccessRights <ActiveDirectoryRights[]>]
40
- [-ChildObjectTypes <ADSchemaObjectIdParameter[]>] [-Confirm] [-Deny] [-DomainController <Fqdn>]
45
+ Add-ADPermission -Instance <ADAcePresentationObject>
46
+ [-AccessRights <ActiveDirectoryRights[]>]
47
+ [-ChildObjectTypes <ADSchemaObjectIdParameter[]>]
48
+ [-Confirm]
49
+ [-Deny]
50
+ [-DomainController <Fqdn>]
41
51
[-ExtendedRights <ExtendedRightIdParameter[]>]
52
+ [[-Identity] <ADRawEntryIdParameter>]
42
53
[-InheritanceType <None | All | Descendents | SelfAndChildren | Children>]
43
- [-InheritedObjectType <ADSchemaObjectIdParameter>] [-Properties <ADSchemaObjectIdParameter[]>] [-WhatIf]
44
- [<CommonParameters>]
54
+ [-InheritedObjectType <ADSchemaObjectIdParameter>]
55
+ [-Properties <ADSchemaObjectIdParameter[]>]
56
+ [-User <SecurityPrincipalIdParameter>]
57
+ [-WhatIf] [<CommonParameters>]
45
58
```
46
59
47
60
## DESCRIPTION
@@ -74,7 +87,7 @@ The Identity parameter specifies the identity of the object that's getting permi
74
87
75
88
``` yaml
76
89
Type : ADRawEntryIdParameter
77
- Parameter Sets : Set1, Set2
90
+ Parameter Sets : AccessRights, Owner
78
91
Aliases :
79
92
Applicable : Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
80
93
Required : True
@@ -86,7 +99,7 @@ Accept wildcard characters: False
86
99
87
100
` ` ` yaml
88
101
Type : ADRawEntryIdParameter
89
- Parameter Sets : Set3
102
+ Parameter Sets : Instance
90
103
Aliases :
91
104
Applicable : Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
92
105
Required : False
@@ -101,7 +114,7 @@ The Instance parameter enables you to pass an entire object to the command to be
101
114
102
115
` ` ` yaml
103
116
Type : ADAcePresentationObject
104
- Parameter Sets : Set3
117
+ Parameter Sets : Instance
105
118
Aliases :
106
119
Applicable : Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
107
120
Required : True
@@ -118,7 +131,7 @@ The Owner parameter can only be used with the Identity parameter and no other pa
118
131
119
132
` ` ` yaml
120
133
Type : SecurityPrincipalIdParameter
121
- Parameter Sets : Set2
134
+ Parameter Sets : Owner
122
135
Aliases :
123
136
Applicable : Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
124
137
Required : True
@@ -133,7 +146,7 @@ The User parameter specifies the user that the permissions are being granted to
133
146
134
147
` ` ` yaml
135
148
Type : SecurityPrincipalIdParameter
136
- Parameter Sets : Set1
149
+ Parameter Sets : AccessRights
137
150
Aliases :
138
151
Applicable : Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
139
152
Required : True
@@ -145,7 +158,7 @@ Accept wildcard characters: False
145
158
146
159
` ` ` yaml
147
160
Type : SecurityPrincipalIdParameter
148
- Parameter Sets : Set3
161
+ Parameter Sets : Instance
149
162
Aliases :
150
163
Applicable : Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
151
164
Required : False
@@ -198,7 +211,7 @@ The AccessRights parameter specifies the rights needed to perform the operation.
198
211
199
212
` ` ` yaml
200
213
Type : ActiveDirectoryRights[]
201
- Parameter Sets : Set1, Set3
214
+ Parameter Sets : AccessRights, Instance
202
215
Aliases :
203
216
Applicable : Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
204
217
Required : False
@@ -215,7 +228,7 @@ The ChildObjectTypes parameter can only be used if the AccessRights parameter is
215
228
216
229
` ` ` yaml
217
230
Type : ADSchemaObjectIdParameter[]
218
- Parameter Sets : Set1, Set3
231
+ Parameter Sets : AccessRights, Instance
219
232
Aliases :
220
233
Applicable : Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
221
234
Required : False
@@ -249,7 +262,7 @@ The Deny switch specifies whether to deny permissions to the user on the Active
249
262
250
263
` ` ` yaml
251
264
Type : SwitchParameter
252
- Parameter Sets : Set1, Set3
265
+ Parameter Sets : AccessRights, Instance
253
266
Aliases :
254
267
Applicable : Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
255
268
Required : False
@@ -281,7 +294,7 @@ The ExtendedRights parameter specifies the extended rights needed to perform the
281
294
282
295
` ` ` yaml
283
296
Type : ExtendedRightIdParameter[]
284
- Parameter Sets : Set1, Set3
297
+ Parameter Sets : AccessRights, Instance
285
298
Aliases :
286
299
Applicable : Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
287
300
Required : False
@@ -296,7 +309,7 @@ The InheritanceType parameter specifies whether permissions are inherited.
296
309
297
310
` ` ` yaml
298
311
Type : None | All | Descendents | SelfAndChildren | Children
299
- Parameter Sets : Set1, Set3
312
+ Parameter Sets : AccessRights, Instance
300
313
Aliases :
301
314
Applicable : Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
302
315
Required : False
@@ -311,7 +324,7 @@ The InheritedObjectType parameter specifies what kind of object inherits this ac
311
324
312
325
` ` ` yaml
313
326
Type : ADSchemaObjectIdParameter
314
- Parameter Sets : Set1, Set3
327
+ Parameter Sets : AccessRights, Instance
315
328
Aliases :
316
329
Applicable : Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
317
330
Required : False
@@ -328,7 +341,7 @@ The Properties parameter can only be used if the AccessRights parameter is set t
328
341
329
342
` ` ` yaml
330
343
Type : ADSchemaObjectIdParameter[]
331
- Parameter Sets : Set1, Set3
344
+ Parameter Sets : AccessRights, Instance
332
345
Aliases :
333
346
Applicable : Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
334
347
Required : False
0 commit comments