Monthly Archives: October 2011

Adfind query

Command below allows you to pull all users and their last authentication and put them into CSV file: AdFind>adfind -b ou=Users,dc=domain7543,dc=local -f “objectcategory=user” cn displayName LastLogonTimeStamp -tdcs -csv > out2.csv

Posted in Random stuff | Tagged , | Leave a comment