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
DistinguishedName : CN=service1,CN=Managed Service Accounts,dc=child1,DC=contoso,DC=com
125
+
```
126
+
127
+
This command gets a managed service account with SAM account name `service1` in domain `child1.contoso.com`.
128
+
111
129
## PARAMETERS
112
130
113
131
### -AuthType
@@ -260,13 +278,7 @@ In AD DS environments, a default value for **Partition** will be set in the foll
260
278
- If running cmdlets from an Active Directory provider drive, the default value of **Partition** is automatically generated from the current path in the drive.
261
279
- If none of the previous cases apply, the default value of **Partition** will be set to the default partition or naming context of the target domain.
262
280
263
-
In AD LDS environments, a default value for Partition will be set in the following cases:
264
-
265
-
- If the **Identity** parameter is set to a distinguished name, the default value of **Partition** is automatically generated from this distinguished name.
266
-
- If running cmdlets from an Active Directory provider drive, the default value of **Partition** is automatically generated from the current path in the drive.
267
-
- If the target AD LDS instance has a default naming context, the default value of **Partition** will be set to the default naming context.
268
-
To specify a default naming context for an AD LDS environment, set the **msDS-defaultNamingContext** property of the Active Directory directory service agent (DSA) object (**nTDSDSA**) for the AD LDS instance.
269
-
- If none of the previous cases apply, the **Partition** parameter will not take any default value.
281
+
The parameter is only useful for snapshots. On live AD domains, the domain NC is the only allowed partition, relative to the value of the “-server” parameter.
0 commit comments