Skip to content

Commit a03899b

Browse files
authored
Merge pull request MicrosoftDocs#1805 from MicrosoftDocs/chrisda
Updates to New-Mailbox
2 parents ae43bd4 + 448862e commit a03899b

File tree

15 files changed

+2169
-1880
lines changed

15 files changed

+2169
-1880
lines changed

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

Lines changed: 40 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -17,31 +17,44 @@ For information about the parameter sets in the Syntax section below, see Exchan
1717

1818
## SYNTAX
1919

20-
### Set1
20+
### AccessRights
2121
```
2222
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[]>]
2529
[-InheritanceType <None | All | Descendents | SelfAndChildren | Children>]
26-
[-InheritedObjectType <ADSchemaObjectIdParameter>] [-Properties <ADSchemaObjectIdParameter[]>] [-WhatIf]
27-
[<CommonParameters>]
30+
[-InheritedObjectType <ADSchemaObjectIdParameter>]
31+
[-Properties <ADSchemaObjectIdParameter[]>]
32+
[-WhatIf] [<CommonParameters>]
2833
```
2934

30-
### Set2
35+
### Owner
3136
```
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>]
3441
```
3542

36-
### Set3
43+
### Instance
3744
```
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>]
4151
[-ExtendedRights <ExtendedRightIdParameter[]>]
52+
[[-Identity] <ADRawEntryIdParameter>]
4253
[-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>]
4558
```
4659

4760
## DESCRIPTION
@@ -74,7 +87,7 @@ The Identity parameter specifies the identity of the object that's getting permi
7487

7588
```yaml
7689
Type: ADRawEntryIdParameter
77-
Parameter Sets: Set1, Set2
90+
Parameter Sets: AccessRights, Owner
7891
Aliases:
7992
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
8093
Required: True
@@ -86,7 +99,7 @@ Accept wildcard characters: False
8699
87100
```yaml
88101
Type: ADRawEntryIdParameter
89-
Parameter Sets: Set3
102+
Parameter Sets: Instance
90103
Aliases:
91104
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
92105
Required: False
@@ -101,7 +114,7 @@ The Instance parameter enables you to pass an entire object to the command to be
101114
102115
```yaml
103116
Type: ADAcePresentationObject
104-
Parameter Sets: Set3
117+
Parameter Sets: Instance
105118
Aliases:
106119
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
107120
Required: True
@@ -118,7 +131,7 @@ The Owner parameter can only be used with the Identity parameter and no other pa
118131
119132
```yaml
120133
Type: SecurityPrincipalIdParameter
121-
Parameter Sets: Set2
134+
Parameter Sets: Owner
122135
Aliases:
123136
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
124137
Required: True
@@ -133,7 +146,7 @@ The User parameter specifies the user that the permissions are being granted to
133146
134147
```yaml
135148
Type: SecurityPrincipalIdParameter
136-
Parameter Sets: Set1
149+
Parameter Sets: AccessRights
137150
Aliases:
138151
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
139152
Required: True
@@ -145,7 +158,7 @@ Accept wildcard characters: False
145158
146159
```yaml
147160
Type: SecurityPrincipalIdParameter
148-
Parameter Sets: Set3
161+
Parameter Sets: Instance
149162
Aliases:
150163
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
151164
Required: False
@@ -198,7 +211,7 @@ The AccessRights parameter specifies the rights needed to perform the operation.
198211
199212
```yaml
200213
Type: ActiveDirectoryRights[]
201-
Parameter Sets: Set1, Set3
214+
Parameter Sets: AccessRights, Instance
202215
Aliases:
203216
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
204217
Required: False
@@ -215,7 +228,7 @@ The ChildObjectTypes parameter can only be used if the AccessRights parameter is
215228
216229
```yaml
217230
Type: ADSchemaObjectIdParameter[]
218-
Parameter Sets: Set1, Set3
231+
Parameter Sets: AccessRights, Instance
219232
Aliases:
220233
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
221234
Required: False
@@ -249,7 +262,7 @@ The Deny switch specifies whether to deny permissions to the user on the Active
249262
250263
```yaml
251264
Type: SwitchParameter
252-
Parameter Sets: Set1, Set3
265+
Parameter Sets: AccessRights, Instance
253266
Aliases:
254267
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
255268
Required: False
@@ -281,7 +294,7 @@ The ExtendedRights parameter specifies the extended rights needed to perform the
281294
282295
```yaml
283296
Type: ExtendedRightIdParameter[]
284-
Parameter Sets: Set1, Set3
297+
Parameter Sets: AccessRights, Instance
285298
Aliases:
286299
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
287300
Required: False
@@ -296,7 +309,7 @@ The InheritanceType parameter specifies whether permissions are inherited.
296309
297310
```yaml
298311
Type: None | All | Descendents | SelfAndChildren | Children
299-
Parameter Sets: Set1, Set3
312+
Parameter Sets: AccessRights, Instance
300313
Aliases:
301314
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
302315
Required: False
@@ -311,7 +324,7 @@ The InheritedObjectType parameter specifies what kind of object inherits this ac
311324
312325
```yaml
313326
Type: ADSchemaObjectIdParameter
314-
Parameter Sets: Set1, Set3
327+
Parameter Sets: AccessRights, Instance
315328
Aliases:
316329
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
317330
Required: False
@@ -328,7 +341,7 @@ The Properties parameter can only be used if the AccessRights parameter is set t
328341
329342
```yaml
330343
Type: ADSchemaObjectIdParameter[]
331-
Parameter Sets: Set1, Set3
344+
Parameter Sets: AccessRights, Instance
332345
Aliases:
333346
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
334347
Required: False

exchange/exchange-ps/exchange/active-directory/Remove-ADPermission.md

Lines changed: 32 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -17,36 +17,44 @@ For information about the parameter sets in the Syntax section below, see Exchan
1717

1818
## SYNTAX
1919

20-
### Set1
20+
### AccessRights
2121
```
2222
Remove-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[]>]
2529
[-InheritanceType <None | All | Descendents | SelfAndChildren | Children>]
26-
[-InheritedObjectType <ADSchemaObjectIdParameter>] [-Properties <ADSchemaObjectIdParameter[]>] [-WhatIf]
27-
[<CommonParameters>]
30+
[-InheritedObjectType <ADSchemaObjectIdParameter>]
31+
[-Properties <ADSchemaObjectIdParameter[]>]
32+
[-WhatIf] [<CommonParameters>]
2833
```
2934

30-
### Set2
35+
### Owner
3136
```
32-
Remove-ADPermission [-Identity] <ADRawEntryIdParameter> [-Confirm] [-DomainController <Fqdn>] [-WhatIf]
33-
-Instance <ADAcePresentationObject> [-User <SecurityPrincipalIdParameter>]
34-
[-AccessRights <ActiveDirectoryRights[]>] [-ChildObjectTypes <ADSchemaObjectIdParameter[]>] [-Deny]
35-
[-ExtendedRights <ExtendedRightIdParameter[]>]
36-
[-InheritanceType <None | All | Descendents | SelfAndChildren | Children>]
37-
[-InheritedObjectType <ADSchemaObjectIdParameter>] [-Properties <ADSchemaObjectIdParameter[]>]
38-
[<CommonParameters>]
37+
Remove-ADPermission [-Identity] <ADRawEntryIdParameter>
38+
[-Confirm]
39+
[-DomainController <Fqdn>]
40+
[-WhatIf] [<CommonParameters>]
3941
```
4042

41-
### Set3
43+
### Instance
4244
```
43-
Remove-ADPermission [[-Identity] <ADRawEntryIdParameter>] -Instance <ADAcePresentationObject>
44-
[-User <SecurityPrincipalIdParameter>] [-AccessRights <ActiveDirectoryRights[]>]
45-
[-ChildObjectTypes <ADSchemaObjectIdParameter[]>] [-Confirm] [-Deny] [-DomainController <Fqdn>]
45+
Remove-ADPermission -Instance <ADAcePresentationObject>
46+
[-AccessRights <ActiveDirectoryRights[]>]
47+
[-ChildObjectTypes <ADSchemaObjectIdParameter[]>]
48+
[-Confirm]
49+
[-Deny]
50+
[-DomainController <Fqdn>]
4651
[-ExtendedRights <ExtendedRightIdParameter[]>]
52+
[[-Identity] <ADRawEntryIdParameter>]
4753
[-InheritanceType <None | All | Descendents | SelfAndChildren | Children>]
48-
[-InheritedObjectType <ADSchemaObjectIdParameter>] [-Properties <ADSchemaObjectIdParameter[]>] [-WhatIf]
49-
[<CommonParameters>]
54+
[-InheritedObjectType <ADSchemaObjectIdParameter>]
55+
[-Properties <ADSchemaObjectIdParameter[]>]
56+
[-User <SecurityPrincipalIdParameter>]
57+
[-WhatIf] [<CommonParameters>]
5058
```
5159

5260
## DESCRIPTION
@@ -79,7 +87,7 @@ You can specify either the distinguished name (DN) of the object or the object's
7987

8088
```yaml
8189
Type: ADRawEntryIdParameter
82-
Parameter Sets: Set1, Set2
90+
Parameter Sets: AccessRights, Owner
8391
Aliases:
8492
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
8593
Required: True
@@ -91,7 +99,7 @@ Accept wildcard characters: False
9199
92100
```yaml
93101
Type: ADRawEntryIdParameter
94-
Parameter Sets: Set3
102+
Parameter Sets: Instance
95103
Aliases:
96104
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
97105
Required: False
@@ -106,7 +114,7 @@ The Instance parameter enables you to pass an entire object to the command to be
106114
107115
```yaml
108116
Type: ADAcePresentationObject
109-
Parameter Sets: Set2, Set3
117+
Parameter Sets: Instance
110118
Aliases:
111119
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
112120
Required: True
@@ -121,7 +129,7 @@ The User parameter specifies the user object that will have permissions removed.
121129
122130
```yaml
123131
Type: SecurityPrincipalIdParameter
124-
Parameter Sets: Set1
132+
Parameter Sets: AccessRights
125133
Aliases:
126134
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
127135
Required: True
@@ -133,7 +141,7 @@ Accept wildcard characters: False
133141
134142
```yaml
135143
Type: SecurityPrincipalIdParameter
136-
Parameter Sets: Set2, Set3
144+
Parameter Sets: Instance
137145
Aliases:
138146
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
139147
Required: False

0 commit comments

Comments
 (0)