How do I export all email users and email addresses

Posted on 2006-11-01
Medium Priority
Last Modified: 2010-03-06
How do I export all email users and email addresses from Active Directory 2003 to a text file?
I tried the Export feature on the AD domain, but it does not give me email addresses.
Question by:cliffordgormley

Accepted Solution

mmudry earned 500 total points
ID: 17851148
I would recommend purchasing a tool such as Hyena to do this for you.  There are other free tools, like CSVDE, but again Hyena makes it much more simple.
LVL 12

Assisted Solution

aa230002 earned 500 total points
ID: 17851999
CSVDE or ldifde is best to use in this case. you need to install Windows Support Tools for CSVDE to run. here is a simple example ->

CSVDE -f <filename> -d "<domain_name>" -s <dc_name> -r "(&(objectClass=user)(mail=*))" -l "displayName,mail"

Amit Aggarwal.


Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

In my humble opinion (IMHO), TouchDown from Symantec is the best in class for this type of application, but Symantec has end-of-lifed it and although one can keep using it, it will no longer be supported or upgraded.  Time to look for alternatives t…
There’s hardly a doubt that Business Communication is indispensable for both enterprises and small businesses, and if there is an email system outage owing to Exchange server failure, it definitely results in loss of productivity.
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

600 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question