Home
> Active Directory, How To, Tips, Windows 2008, Windows 7 > How to get the last password change for a user in Active Directory
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:
Import-Module ActiveDirectory
Get-ADUser ‘UserName’ -properties PasswordLastSet | Format-List
- for example:
Import-Module ActiveDirectory
Get-ADUser ‘tani.alessandro’ -properties PasswordLastSet | Format-List
In the field PasswordLastSet you can find date of last password change.
Categories: Active Directory, How To, Tips, Windows 2008, Windows 7
Active Directory, change, password, PowerShell
Thanks.. gr8.
bcoz some tech side no any support
Thanks for sharing ʏouг thougҺts аbout wordpress template.
Ʀegards
whoah tɦis weblog is great і love studyiing уour articles.
Kеep up the good wߋrk! You understand, а
llot of people are lߋoking around for tҺis info, you cann help tem greatly.
Thanks. Nice. Working well. Do you know if there’s a way to determine the domain controller where the password was changed? We have several DC’s in each domain.
I have read sօ many articles or reviews aƄout tɦе blogger lovets Һowever
tɦiѕ post is truly a nice pieche of writing, keeρ itt up.
Thanks, worked perfectly. User calls complaining a laptop will no longer accept his password. Command shows his password is 90 days old (needs to be changed per policy) HA
Awesome! Works perfectly…
Is there a way to have it prompt for a username instead of typing one in?
worked well, thank you for this. You have to import hte AD modules before running ADUser cmd.