Link to home
Avatar of Mike Satterfield
Mike Satterfield

asked on

Looking for script to see who has changed passwords in last 24 hours

Hi,

I am looking for a script that will tell me which AD  users have changed there passwords in the last 24 hours.

Was wondering if anyone had something similar.
ASKER CERTIFIED SOLUTION
Avatar of Ashvin Ashok
Ashvin Ashok

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of Mike Satterfield
Mike Satterfield

ASKER

Perfect.

Thank you!
No actual need for external tools, it's just a simple PowerShell query (the "-1" is the number of days you want to look back):
Get-ADUser -Filter "pwdLastSet -ge $((Get-Date).AddDays(-1).ToFileTime())"

Open in new window