title: How can I verify if an AD account is locked?
body: <p>I want to know if it is possible to verify if a specific AD account is locked. </p>
  
  <p>The command <a href="http://technet.microsoft.com/en-ca/library/ee617241.aspx" rel="noreferrer"><code>Get-ADUser</code></a> does not return this parameter :</p>
  
  <pre> -------------------------- EXAMPLE 3 --------------------------
  
   Command Prompt: C:\PS>
   Get-ADUser GlenJohn -Properties * 
  
  
    - Surname : John 
    - Name : Glen John
    - UserPrincipalName : jglen
    - GivenName : Glen
    - Enabled : False
    - SamAccountName : GlenJohn
    - ObjectClass :
    - user SID :S-1-5-21-2889043008-4136710315-2444824263-3544
    - ObjectGUID :e1418d64-096c-4cb0-b903-ebb66562d99d
    - DistinguishedName : CN=Glen John,OU=NorthAmerica,OU=Sales,OU=UserAccounts,DC=FABRIKAM,DC=COM
  
   Description :
   -----------
  
   Get all properties of the user with samAccountName 'GlenJohn'.
  
   --------------------------END EXAMPLE --------------------------</pre>
  
  <p>Is there an other way to get this information ?</p>