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
@@ -55,7 +55,7 @@ This command adds the user accounts with the SAM account names SQL01 and SQL02 t
55
55
```
56
56
PS C:\> Add-ADGroupMember
57
57
cmdlet Add-ADGroupMember at command pipeline position 1
58
-
Supply values for the following parameters:
58
+
Supply values for the following parameters:
59
59
Identity: RodcAdmins
60
60
Members[0]: DavidChew
61
61
Members[1]: PattiFuller
@@ -83,7 +83,7 @@ This command adds the user CN=Chew David,OU=UserAccounts from the North America
83
83
## PARAMETERS
84
84
85
85
### -AuthType
86
-
Specifies the authentication method to use.
86
+
Specifies the authentication method to use.
87
87
The acceptable values for this parameter are:
88
88
89
89
- Negotiate or 0
@@ -96,7 +96,7 @@ A Secure Sockets Layer (SSL) connection is required for the Basic authentication
96
96
```yaml
97
97
Type: ADAuthType
98
98
Parameter Sets: (All)
99
-
Aliases:
99
+
Aliases:
100
100
Accepted values: Negotiate, Basic
101
101
102
102
Required: False
@@ -137,7 +137,7 @@ If the acting credentials do not have directory-level permission to perform the
137
137
```yaml
138
138
Type: PSCredential
139
139
Parameter Sets: (All)
140
-
Aliases:
140
+
Aliases:
141
141
142
142
Required: False
143
143
Position: Named
@@ -152,8 +152,8 @@ The identifier in parentheses is the Lightweight Directory Access Protocol (LDAP
152
152
The acceptable values for this parameter are:
153
153
154
154
- A distinguished name
155
-
- A GUID (objectGUID)
156
-
- A security identifier (objectSid)
155
+
- A GUID (objectGUID)
156
+
- A security identifier (objectSid)
157
157
- A Security Account Manager account name (sAMAccountName)
158
158
159
159
The cmdlet searches the default naming context or partition to find the object.
@@ -164,7 +164,7 @@ This parameter can also get this object through the pipeline or you can set this
164
164
```yaml
165
165
Type: ADGroup
166
166
Parameter Sets: (All)
167
-
Aliases:
167
+
Aliases:
168
168
169
169
Required: True
170
170
Position: 0
@@ -179,7 +179,7 @@ Specifies a Time to Live (TTL) for the new group members.
179
179
```yaml
180
180
Type: TimeSpan
181
181
Parameter Sets: (All)
182
-
Aliases:
182
+
Aliases:
183
183
184
184
Required: False
185
185
Position: Named
@@ -194,9 +194,9 @@ To identify each object, use one of the following property values.
194
194
Note: The identifier in parentheses is the LDAP display name.
195
195
The acceptable values for this parameter are:
196
196
197
-
- Distinguished name
198
-
- GUID (objectGUID)
199
-
- Security identifier (objectSid)
197
+
- Distinguished name
198
+
- GUID (objectGUID)
199
+
- Security identifier (objectSid)
200
200
- SAM account name (sAMAccountName)
201
201
202
202
You can also provide objects to this parameter directly.
@@ -224,7 +224,7 @@ You cannot pass objects through the pipeline to this parameter.
224
224
```yaml
225
225
Type: ADPrincipal[]
226
226
Parameter Sets: (All)
227
-
Aliases:
227
+
Aliases:
228
228
229
229
Required: True
230
230
Position: 1
@@ -242,24 +242,24 @@ In many cases, a default value is used for the *Partition* parameter if no value
242
242
The rules for determining the default value are given below.
243
243
Note that rules listed first are evaluated first and once a default value can be determined, no further rules are evaluated.
244
244
245
-
In Active Directory Domain Services (AD DS) environments, a default value for *Partition* is set in the following cases:
245
+
In Active Directory Domain Services (AD DS) environments, a default value for *Partition* is set in the following cases:
246
246
247
247
- If the *Identity* parameter is set to a distinguished name, the default value of *Partition* is automatically generated from this distinguished name.
248
-
- If running cmdlets from an Active Directory provider drive, the default value of *Partition* is automatically generated from the current path in the drive.
248
+
- If running cmdlets from an Active Directory provider drive, the default value of *Partition* is automatically generated from the current path in the drive.
249
249
- If none of the previous cases apply, the default value of *Partition* is set to the default partition or naming context of the target domain.
250
250
251
251
In Active Directory Lightweight Directory Services (AD LDS) environments, a default value for *Partition* is set in the following cases:
252
252
253
-
- If the *Identity* parameter is set to a distinguished name, the default value of *Partition* is automatically generated from this distinguished name.
254
-
- If running cmdlets from an Active Directory provider drive, the default value of *Partition* is automatically generated from the current path in the drive.
253
+
- If the *Identity* parameter is set to a distinguished name, the default value of *Partition* is automatically generated from this distinguished name.
254
+
- If running cmdlets from an Active Directory provider drive, the default value of *Partition* is automatically generated from the current path in the drive.
255
255
- If the target AD LDS instance has a default naming context, the default value of *Partition* is set to the default naming context.
256
-
To specify a default naming context for an AD LDS environment, set the **msDS-defaultNamingContext** property of the Active Directory directory service agent object (**nTDSDSA**) for the AD LDS instance.
256
+
To specify a default naming context for an AD LDS environment, set the **msDS-defaultNamingContext** property of the Active Directory directory service agent object (**nTDSDSA**) for the AD LDS instance.
257
257
- If none of the previous cases apply, the *Partition* parameter does not take a default value.
258
258
259
259
```yaml
260
260
Type: String
261
261
Parameter Sets: (All)
262
-
Aliases:
262
+
Aliases:
263
263
264
264
Required: False
265
265
Position: Named
@@ -275,7 +275,7 @@ By default, this cmdlet does not generate any output.
Specifies the Active Directory Domain Services (AD DS) instance to connect to, by providing one of the following values for a corresponding domain name or directory server.
289
289
The service may be any of the following: Active Directory Lightweight Domain Services (AD LDS), AD DS, or Active Directory snapshot instance.
290
290
291
-
Specify the AD DS instance in one of the following ways:
291
+
Specify the AD DS instance in one of the following ways:
292
292
293
293
Domain name values:
294
294
295
295
- Fully qualified domain name
296
296
- NetBIOS name
297
297
298
-
Directory server values:
298
+
Directory server values:
299
299
300
300
- Fully qualified directory server name
301
301
- NetBIOS name
@@ -310,7 +310,7 @@ The default value for this parameter is determined by one of the following metho
Performing operation "Set" on Target "CN=DocumentReaders,CN=Users,DC=Fabrikam,DC=com".
53
53
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"):
54
54
```
@@ -89,7 +89,7 @@ A Secure Sockets Layer (SSL) connection is required for the Basic authentication
89
89
```yaml
90
90
Type: ADAuthType
91
91
Parameter Sets: (All)
92
-
Aliases:
92
+
Aliases:
93
93
Accepted values: Negotiate, Basic
94
94
95
95
Required: False
@@ -130,7 +130,7 @@ If the acting credentials do not have directory-level permission to perform the
130
130
```yaml
131
131
Type: PSCredential
132
132
Parameter Sets: (All)
133
-
Aliases:
133
+
Aliases:
134
134
135
135
Required: False
136
136
Position: Named
@@ -145,8 +145,8 @@ The identifier in parentheses is the LDAP display name for the attribute.
145
145
The acceptable values for this parameter are:
146
146
147
147
- A distinguished name
148
-
- A GUID (objectGUID)
149
-
- A security identifier (objectSid)
148
+
- A GUID (objectGUID)
149
+
- A security identifier (objectSid)
150
150
- A Security Account Manager account name (sAMAccountName)
151
151
152
152
The cmdlet searches the default naming context or partition to find the object.
@@ -157,7 +157,7 @@ This parameter can also get this object through the pipeline or you can set this
157
157
```yaml
158
158
Type: ADGroup
159
159
Parameter Sets: (All)
160
-
Aliases:
160
+
Aliases:
161
161
162
162
Required: True
163
163
Position: 0
@@ -172,9 +172,9 @@ To identify each object, use one of the following property values.
172
172
Note: The identifier in parentheses is the LDAP display name.
173
173
The acceptable values for this parameter are:
174
174
175
-
- Distinguished name
176
-
- GUID (objectGUID)
177
-
- Security identifier (objectSid)
175
+
- Distinguished name
176
+
- GUID (objectGUID)
177
+
- Security identifier (objectSid)
178
178
- SAM account name (sAMAccountName)
179
179
180
180
You can also provide objects to this parameter directly.
@@ -202,7 +202,7 @@ You cannot pass objects through the pipeline to this parameter.
202
202
```yaml
203
203
Type: ADPrincipal[]
204
204
Parameter Sets: (All)
205
-
Aliases:
205
+
Aliases:
206
206
207
207
Required: True
208
208
Position: 1
@@ -220,24 +220,24 @@ In many cases, a default value is used for the *Partition* parameter if no value
220
220
The rules for determining the default value are given below.
221
221
Note that rules listed first are evaluated first and once a default value can be determined, no further rules are evaluated.
222
222
223
-
In Active Directory Domain Services (AD DS) environments, a default value for *Partition* is set in the following cases:
223
+
In Active Directory Domain Services (AD DS) environments, a default value for *Partition* is set in the following cases:
224
224
225
225
- If the *Identity* parameter is set to a distinguished name, the default value of *Partition* is automatically generated from this distinguished name.
226
-
- If running cmdlets from an Active Directory provider drive, the default value of *Partition* is automatically generated from the current path in the drive.
226
+
- If running cmdlets from an Active Directory provider drive, the default value of *Partition* is automatically generated from the current path in the drive.
227
227
- If none of the previous cases apply, the default value of *Partition* is set to the default partition or naming context of the target domain.
228
228
229
229
In Active Directory Lightweight Directory Services (AD LDS) environments, a default value for *Partition* is set in the following cases:
230
230
231
-
- If the *Identity* parameter is set to a distinguished name, the default value of *Partition* is automatically generated from this distinguished name.
232
-
- If running cmdlets from an Active Directory provider drive, the default value of *Partition* is automatically generated from the current path in the drive.
231
+
- If the *Identity* parameter is set to a distinguished name, the default value of *Partition* is automatically generated from this distinguished name.
232
+
- If running cmdlets from an Active Directory provider drive, the default value of *Partition* is automatically generated from the current path in the drive.
233
233
- If the target AD LDS instance has a default naming context, the default value of *Partition* is set to the default naming context.
234
-
To specify a default naming context for an AD LDS environment, set the **msDS-defaultNamingContext** property of the Active Directory directory service agent object (**nTDSDSA**) for the AD LDS instance.
234
+
To specify a default naming context for an AD LDS environment, set the **msDS-defaultNamingContext** property of the Active Directory directory service agent object (**nTDSDSA**) for the AD LDS instance.
235
235
- If none of the previous cases apply, the *Partition* parameter does not take a default value.
236
236
237
237
```yaml
238
238
Type: String
239
239
Parameter Sets: (All)
240
-
Aliases:
240
+
Aliases:
241
241
242
242
Required: False
243
243
Position: Named
@@ -253,7 +253,7 @@ By default, this cmdlet does not generate any output.
0 commit comments