Thursday, February 24, 2011

Get Resultant Password Policy of a User,Find All Groups and Users to Which a Fine-Grained Password Policy Applies

Get Resultant Password Policy of a User

This topic explains how to use the Active Directory module for Windows PowerShell to get the resultant password policy of a user.

Example

The following example demonstrates how to get the resultant password policy of the user BobKe:
Get-ADUserResultantPasswordPolicy BobKe

Additional information

For a full explanation the parameters that you can pass to Get-ADUserResultantPasswordPolicy, at the Active Directory module command prompt, type Get-Help Get-ADUserResultantPasswordPolicy –detailed, and then press ENTER.

Find All Groups and Users to Which a Fine-Grained Password Policy Applies

This topic explains how to use the Active Directory module for Windows PowerShell to find all the groups and users to which a fine-grained password policy applies.

Example

The following example demonstrates how to find all the groups and users to which the fine-grained password policy AdminsPSO applies:
Get-ADFineGrainedPasswordPolicy AdminsPSO | ft AppliesTo -A

Additional information

For a full explanation of the parameters that you can pass to Get-ADFineGrainedPasswordPolicy, at the Active Directory module command prompt, type Get-Help Get-ADFineGrainedPasswordPolicy –detailed, and then press ENTER.

No comments:

Post a Comment