How to enumerate a list of users who have not logged on in the last 7 days?
Hello Forum,
I would like to know how we if there is an easy way to enumerate a list of all domain user account holders that have not logged on in the last 7 days. We been asked by our internal security audit team to furnish this report.
I was hoping to query our local domain controller based on the lastLogonTimestamp attribute value, but I read somewhere that this attribute is only accurate for logons greater than 14 days. Since our requirement is for 7 days, that does not work for us.
Is there an easy and efficienct way to enmuerate this list, without us having to manualy query ever DC for the lastLogon attribute and then manually converting and comparing these timestamps?
If you know of any way to do this more easily, please share.
Armen
__________________
لا مصيبة أعظم من الجهل (There is no calamity greater than ignorance)