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
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