How to Generate Reports using Account Lockout Tools and Management Tools (AlTools.exe) for Active Directory?
Hello All,
I would like to know how to generate a report that lists all the accounts that are ccurrently locked-out, and a list of all the accounts that have never logged on as well.
I know that with the using the Account Lockout Tools and Management Tools for Active Directory, I can determine when a specific user was locked out, but in order to generate a reprot that lists all the locked-out accounts, I cannot be expected to check each user account and then individually gather and print these details.
There must be a better, more efficient way to do this. If anyone out there knows how to more efficiently enumerate all locked accounts and generate such a report without having to touch upon each user object to do so, would certainly be thankful for your input.