Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Retrieve Details of a Default Domain Password Policy

Updated: February 28, 2009

Applies To: Windows Server 2008 R2

This topic explains how to use the Active Directory module for Windows PowerShell to retrieve the details of the default domain password policy.

The following example demonstrates how to retrieve the details of the default domain password policy for the Fabrikam.com domain:

Get-ADDefaultDomainPasswordPolicy Fabrikam

In addition to the standard Lightweight Directory Access Protocol (LDAP) attributes, you can retrieve the following extended properties of the Get-ADDefaultDomainPasswordPolicy cmdlet by using the -Properties parameter:

  • ComplexityEnabled

  • LockoutDuration

  • LockoutObservationWindow

  • LockoutThreshold

  • MaxPasswordAge

  • MinPasswordAge

  • MinPasswordLength

  • PasswordHistoryCount

  • ReversibleEncryptionEnabled

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.