Skip to content

Commit 91e5ada

Browse files
authored
Merge pull request MicrosoftDocs#3591 from msbemba/msbemba-patch-1-4
Update Get-ADPrincipalGroupMembership.md
2 parents 7336fc9 + e3b6120 commit 91e5ada

File tree

3 files changed

+64
-9
lines changed

3 files changed

+64
-9
lines changed

docset/winserver2016-ps/activedirectory/Get-ADPrincipalGroupMembership.md

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -258,9 +258,27 @@ Accept wildcard characters: False
258258
```
259259
260260
### -Partition
261-
The default authentication method is Negotiate.
261+
Specifies the distinguished name of an Active Directory partition.
262+
The distinguished name must be one of the naming contexts on the current directory server.
263+
The cmdlet searches this partition to find the object defined by the **Identity** parameter.
262264
263-
A Secure Sockets Layer (SSL) connection is required for the Basic authentication method.
265+
In many cases, a default value is used for the **Partition** parameter if no value is specified.
266+
The rules for determining the default value are given below.
267+
Note that rules listed first are evaluated first and once a default value can be determined, no further rules are evaluated.
268+
269+
In Active Directory Domain Services (AD DS) environments, a default value for **Partition** is set in the following cases:
270+
271+
- If the **Identity** parameter is set to a distinguished name, the default value of **Partition** is automatically generated from this distinguished name.
272+
- If running cmdlets from an Active Directory provider drive, the default value of **Partition** is automatically generated from the current path in the drive.
273+
- 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.
274+
275+
In Active Directory Lightweight Directory Services (AD LDS) environments, a default value for **Partition** is set in the following cases:
276+
277+
- If the **Identity** parameter is set to a distinguished name, the default value of **Partition** is automatically generated from this distinguished name.
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.
279+
- If the target AD LDS instance has a default naming context, the default value of **Partition** is set to the default naming context.
280+
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.
281+
- If none of the previous cases apply, the **Partition** parameter does not take any default value.
264282
265283
```yaml
266284
Type: String
@@ -269,7 +287,7 @@ Aliases:
269287

270288
Required: False
271289
Position: Named
272-
Default value: None
290+
Default value: DefaultNC; Provider: The default is to use the Partition that you are currently in. Otherwise, use DefaultNC (that is, if you are in the RootDSE)
273291
Accept pipeline input: False
274292
Accept wildcard characters: False
275293
```

docset/winserver2019-ps/activedirectory/Get-ADPrincipalGroupMembership.md

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -258,9 +258,27 @@ Accept wildcard characters: False
258258
```
259259
260260
### -Partition
261-
The default authentication method is Negotiate.
261+
Specifies the distinguished name of an Active Directory partition.
262+
The distinguished name must be one of the naming contexts on the current directory server.
263+
The cmdlet searches this partition to find the object defined by the **Identity** parameter.
262264
263-
A Secure Sockets Layer (SSL) connection is required for the Basic authentication method.
265+
In many cases, a default value is used for the **Partition** parameter if no value is specified.
266+
The rules for determining the default value are given below.
267+
Note that rules listed first are evaluated first and once a default value can be determined, no further rules are evaluated.
268+
269+
In Active Directory Domain Services (AD DS) environments, a default value for **Partition** is set in the following cases:
270+
271+
- If the **Identity** parameter is set to a distinguished name, the default value of **Partition** is automatically generated from this distinguished name.
272+
- If running cmdlets from an Active Directory provider drive, the default value of **Partition** is automatically generated from the current path in the drive.
273+
- 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.
274+
275+
In Active Directory Lightweight Directory Services (AD LDS) environments, a default value for **Partition** is set in the following cases:
276+
277+
- If the **Identity** parameter is set to a distinguished name, the default value of **Partition** is automatically generated from this distinguished name.
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.
279+
- If the target AD LDS instance has a default naming context, the default value of **Partition** is set to the default naming context.
280+
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.
281+
- If none of the previous cases apply, the **Partition** parameter does not take any default value.
264282
265283
```yaml
266284
Type: String
@@ -269,11 +287,12 @@ Aliases:
269287

270288
Required: False
271289
Position: Named
272-
Default value: None
290+
Default value: DefaultNC; Provider: The default is to use the Partition that you are currently in. Otherwise, use DefaultNC (that is, if you are in the RootDSE)
273291
Accept pipeline input: False
274292
Accept wildcard characters: False
275293
```
276294
295+
277296
### -ResourceContextPartition
278297
Specifies the distinguished name of the partition of an AD or AD LDS instance to search.
279298
Use this parameter with the *ResourceContextServer* parameter to specify a partition hosted by the specified server.

docset/winserver2022-ps/activedirectory/Get-ADPrincipalGroupMembership.md

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -258,9 +258,27 @@ Accept wildcard characters: False
258258
```
259259
260260
### -Partition
261-
The default authentication method is Negotiate.
261+
Specifies the distinguished name of an Active Directory partition.
262+
The distinguished name must be one of the naming contexts on the current directory server.
263+
The cmdlet searches this partition to find the object defined by the **Identity** parameter.
262264
263-
A Secure Sockets Layer (SSL) connection is required for the Basic authentication method.
265+
In many cases, a default value is used for the **Partition** parameter if no value is specified.
266+
The rules for determining the default value are given below.
267+
Note that rules listed first are evaluated first and once a default value can be determined, no further rules are evaluated.
268+
269+
In Active Directory Domain Services (AD DS) environments, a default value for **Partition** is set in the following cases:
270+
271+
- If the **Identity** parameter is set to a distinguished name, the default value of **Partition** is automatically generated from this distinguished name.
272+
- If running cmdlets from an Active Directory provider drive, the default value of **Partition** is automatically generated from the current path in the drive.
273+
- 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.
274+
275+
In Active Directory Lightweight Directory Services (AD LDS) environments, a default value for **Partition** is set in the following cases:
276+
277+
- If the **Identity** parameter is set to a distinguished name, the default value of **Partition** is automatically generated from this distinguished name.
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.
279+
- If the target AD LDS instance has a default naming context, the default value of **Partition** is set to the default naming context.
280+
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.
281+
- If none of the previous cases apply, the **Partition** parameter does not take any default value.
264282
265283
```yaml
266284
Type: String
@@ -269,7 +287,7 @@ Aliases:
269287

270288
Required: False
271289
Position: Named
272-
Default value: None
290+
Default value: DefaultNC; Provider: The default is to use the Partition that you are currently in. Otherwise, use DefaultNC (that is, if you are in the RootDSE)
273291
Accept pipeline input: False
274292
Accept wildcard characters: False
275293
```

0 commit comments

Comments
 (0)