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

Mike Satterfield
Mike Satterfield used Ask the Experts™

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.
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Team Manager - IT
You can try with a tool by name AD Info ( Free Edition ) by CJWDEV. Its very user friendly and the tool has inbuilt of hundreds of scripts to accomplish any task in AD.

Hope this helps.. Good day ahead



Thank you!
Most Valuable Expert 2018
Distinguished Expert 2018

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

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial