[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 222
  • Last Modified:

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?
0
TED_UBB
Asked:
TED_UBB
  • 2
1 Solution
 
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
 
Toni UranjekConsultant/TrainerCommented:
Hi TED_UBB,

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

HTH

Toni
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

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now