How to get the last password change for a user in Active Directory
If you need to know when was the last password change made by a user member of an Active Directory domain, you can simply use the following PowerShell instructions:
- on a Windows 7 client or Windows 2008, Windows 2008R2 server which are member of the Active Directory domain that belong the user you want to analyze, open PowerShell Console and at the prompt write:
Get-ADUser ‘UserName’ -properties PasswordLastSet | Format-List
- for example:
Get-ADUser ‘tani.alessandro’ -properties PasswordLastSet | Format-List
In the field PasswordLastSet you can find date of last password change.