Charlie, there's a -nodn switch <mc>
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Charlie Kaiser Sent: Friday, May 06, 2005 10:37 AM To: ActiveDir@mail.activedir.org Subject: [ActiveDir] ADFind syntax Hey Joe; I have a question for you (or anyone else who knows!) about ADFind. Let's say I'm searching for, for example, a list of users (samaccountname) in an OU. I run the query, and it comes back with the DN and the attribute value. Is there a way to make it not display the DN? I sometimes need to make lists that will export quickly to a doc for non-admins to read, and the DN throws them off. :-) I can export to a spreadsheet and trim it, but I thought perhaps there's a native way to do it... I figured out how to do this in dsquery; dsquery user ou=employees,dc=domain,dc=com -scope onelevel -limit 1000 | dsget user -display Can something like that be done with ADFind? Thanks... ********************** Charlie Kaiser MCSE, CCNA Systems Engineer Essex Credit / Brickwalk 510 595 5083 ********************** List info : http://www.activedir.org/List.aspx List FAQ : http://www.activedir.org/ListFAQ.aspx List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ This e-mail transmission contains information that is intended to be confidential and privileged. If you receive this e-mail and you are not a named addressee you are hereby notified that you are not authorized to read, print, retain, copy or disseminate this communication without the consent of the sender and that doing so is prohibited and may be unlawful. Please reply to the message immediately by informing the sender that the message was misdirected. After replying, please delete and otherwise erase it and any attachments from your computer system. Your assistance in correcting this error is appreciated. List info : http://www.activedir.org/List.aspx List FAQ : http://www.activedir.org/ListFAQ.aspx List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/