Forum Discussion
Get AD logon history for specific AD user account
I am looking for a Powershell script that can list the logon history for a specific user. I have searched all over and everything I am finding is getting a report for ALL AD users logon history. What I need is to specify by username all logon attempts within a specific time frame. Any help is GREATLY appreciated!!
- charlie4872Brass Contributor
Thanks for the response Dave Patrick but this is one of the articles I found while searching for a solution except the script in the link grabs ALL AD users and what I am looking to do is get the same or similar results for a single AD user account instead off every user account in AD.
You can filter the results or possibly modify the script to suit your needs. If you need help with scripting I'd suggest reaching out to subject matter experts here in dedicated forum.
https://social.technet.microsoft.com/Forums/en-US/home?forum=winserverpowershell