How do I export OU, Name, and Email address from Active Directory using ADAM

I am trying to export OU, Full Name, and Email adress from either Exchange 2003 or Active Directory?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

One of the simplest methods is using Active Directory Users and Computers.
1. Open this Snap-in, go to View, Add /Remove columns and add E-mail address to the Displayed columns list;
2. Select the desired OU from witch you intend to make the export, go to Action and Export list;
3. Choose the format and name of the destination file;
4. Save

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial

i would use ADAM Csvde to export objects and attributes. its not that difficult to use.  

since you are using ADAM you would have to specify the LDAP port numbe that ADAM is using.

for example:

-l  allows you list the attributes that you want to export instead of exporting everything

-t allows you to specify a LDAP port

-d allows you specifiy the ou to export from
csvde   -f c:\folderlocation\filename.csv  -t  50389   -d  "ou=users,ou=finance,dc=contoso,dc=com"  -l dn, cn, sn


It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.