The tool ldifde would be an obvious option and wouldn't require scripting.
For users you would want to use &(objectcategory=person)(objectclass=user), for contacts you would use &(objectcategory=person)(objectclass=contact), for both, objectcategory=person would be sufficient. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Friday, May 20, 2005 3:47 PM To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] Export user info A script doing ldap query for "objectclass='contact'" and writing that into a database or to a file (using FSO) would be an option - for me. Sincerely, Dèjì Akómöláfé, MCSE+M MCSA+M MCP+I Microsoft MVP - Directory Services www.readymaids.com - we know IT www.akomolafe.com Do you now realize that Today is the Tomorrow you were worried about Yesterday? -anon ________________________________ From: [EMAIL PROTECTED] on behalf of Jason Benway Sent: Fri 5/20/2005 12:00 PM To: 'ActiveDir@mail.activedir.org' Subject: [ActiveDir] Export user info Is there a way to export all the user info (mainly the contact info) into a csv. Incase the ADC replicates old user info from our exchange 55. Thank you jb -------------------------- Jason Benway [EMAIL PROTECTED] GHSP 1250 S.Beechtree Grand Haven, MI 49417 616-847-8474 Fax: 616-850-1208 Required space inevitably expands to exceed available space... 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/