User Tools

Site Tools


networking:windows:active_directory:ad_password_policy

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
networking:windows:active_directory:ad_password_policy [2020/09/25 09:38]
gcooper
networking:windows:active_directory:ad_password_policy [2020/09/28 10:51] (current)
gcooper
Line 1: Line 1:
 ====== Active Directory Password Policy ====== ====== Active Directory Password Policy ======
 +
 +===== Check a User's Password and Policy =====
 +
 +Check when a user password expires:
 +
 +<file>
 +net user USERNAME /domain
 +
 +Get-ADUserResultantPasswordPolicy USERNAME
 +</file>
  
 ===== Default Domain Password Policy ===== ===== Default Domain Password Policy =====
Line 21: Line 31:
 ==== Show Fine-Grained Password Policies ==== ==== Show Fine-Grained Password Policies ====
  
-In PowerShell, load this function:+<file> 
 +Get-ADFineGrainedPasswordPolicy -Filter * 
 +</file> 
 + 
 +==== Show Per User Policy ==== 
 + 
 +<file> 
 +Get-ADUserResultantPasswordPolicy username 
 +</file> 
 + 
 +Or to show all users:
  
 <file> <file>
networking/windows/active_directory/ad_password_policy.1601048288.txt.gz · Last modified: 2020/09/25 09:38 by gcooper