Any clever folks or scripting folks that can advise me as to how I produce a directory listing of files on an Active Directory Server with the active directory cn (common name) attribute beside the folders?
I realize dir /r /ad could give me usernames but I'd like the common name rather than the username or perhaps even both.
So, looking for a quick and easy way to get something like:
30/01/2013 12:03 PM [DIR] Joel Coen
14/09/2012 02:52 PM [DIR] Wes Anderson
04/07/2014 10:38 AM [DIR] Martin Scorsese
16/11/2012 09:54 AM [DIR] Stephen Gaghan
Rather than, say,
30/01/2013 12:03 PM [DIR] coenj
14/09/2012 02:52 PM [DIR] andersonw
↧