How can I easily extract all email addresses set up in AD into a txt or csv file?

How can I easily extract all email addresses set up in AD into a txt or csv file?
TED_UBBAsked:
Who is Participating?
 
Toni UranjekConnect With a Mentor Consultant/TrainerCommented:
Hi TED_UBB,

csvde -f emails.csv -r (objectclass=user) -l "name,mail"

HTH

Toni
0
 
Brum07Commented:
Go to view, and add/remove columns and add the correct columns to AD users and Computers.  YOu can then right click the correct OU, or the domain, and export list... and put it either tab delimited, or comman delimited.
0
 
TED_UBBAuthor Commented:
Many thanks for your speedy & accurate assistance!
0
 
TED_UBBAuthor Commented:
Sorry Brum07, but Toniur's answer was the quicker to execute!
0
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.

All Courses

From novice to tech pro — start learning today.