Hey guys,
I spent the past hour or so learning about the dsquery, and dsget commands to help me export four groups and their members into an excel spreadsheet for review by my superior, and to better save time of editing 8,000 users individually, I was wondering if anybody had any good practices or ideas on how to clean up the output of the dsget group command.
I can easily export the data into a .csv and open it in Excel, and it reads fine, but my problem is, my superiors expect it to look nice and neat, and having the Distinguished Name on every line, they're going to be reading Chinese.
So I was wondering if there's a way to clean up the DN's so that when you export from a "dsget group -members" command, you get only user names, or login names, or something not 50 characters long.
I googled this and I couldn't find anything, so I'm just throwing my question out there to see if anyone has any ideas. Thanks in advance!
Bookmarks