You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
10
5
title: Add-ADPermission
6
+
schema: 2.0.0
7
+
author: chrisda
8
+
ms.author: chrisda
9
+
ms.reviewer:
11
10
---
12
11
13
12
# Add-ADPermission
@@ -89,15 +88,13 @@ This example assumes that another security mechanism is used to ensure the Recei
89
88
## PARAMETERS
90
89
91
90
### -Identity
92
-
93
-
> Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
94
-
95
91
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 (").
96
92
97
93
```yaml
98
94
Type: ADRawEntryIdParameter
99
-
Parameter Sets: AccessRights, Owner, Instance
95
+
Parameter Sets: AccessRights, Owner
100
96
Aliases:
97
+
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
101
98
102
99
Required: True
103
100
Position: 1
@@ -106,16 +103,27 @@ Accept pipeline input: True
106
103
Accept wildcard characters: False
107
104
```
108
105
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
110
111
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
+
```
112
118
119
+
### -Instance
113
120
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.
114
121
115
122
```yaml
116
123
Type: ADAcePresentationObject
117
124
Parameter Sets: Instance
118
125
Aliases:
126
+
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
> Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
130
-
131
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:
132
137
133
138
- Mailbox users
@@ -153,6 +158,7 @@ You can't use this parameter with the AccessRights or User parameters.
153
158
Type: SecurityPrincipalIdParameter
154
159
Parameter Sets: Owner
155
160
Aliases:
161
+
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
> Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
167
-
168
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:
169
172
170
173
- Mailbox users
@@ -193,8 +196,9 @@ You can't use this parameter with the Owner parameter.
193
196
194
197
```yaml
195
198
Type: SecurityPrincipalIdParameter
196
-
Parameter Sets: AccessRights, Instance
199
+
Parameter Sets: AccessRights
197
200
Aliases:
201
+
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
> Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
271
-
272
282
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.
273
283
274
284
- 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
278
288
Type: SwitchParameter
279
289
Parameter Sets: (All)
280
290
Aliases: cf
291
+
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
> Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
310
-
311
317
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.
312
318
313
319
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
316
322
Type: Fqdn
317
323
Parameter Sets: (All)
318
324
Aliases:
325
+
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
> Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
410
-
411
407
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.
412
408
413
409
```yaml
414
410
Type: SwitchParameter
415
411
Parameter Sets: (All)
416
412
Aliases: wi
413
+
Applicable: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019
0 commit comments