I have looked all over but can't seem to find a specific way of exporting a list of users (by the OU they are in) that contains. their account status, last login date and password change date.
I have an old dsquery command but that does not give me enough detail:
dsquery group -samid “Users” |dsget group -members -expand | dsget user -samid > userlistforauditors.txt
I also looked at the ADSI Edit tool but that does not provide an "export" of the info. Can someone help?
thanks Kay