Solved

How do I export all email users and email addresses from Active Directory 2003 to a text file?

Posted on 2006-11-01
3
246 Views
Last Modified: 2012-05-05
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.
Thanks
0
Comment
Question by:cliffordgormley
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 10

Expert Comment

by:SeanUK777
ID: 17850606
do an export either from your machine - if you have the Exchange Management Tools installed..

or from the Exchange Server itself..

Administrative Groups -> expand group -> servers -> storage group > mailbox store -> mailboxes

right click, select export list

select tab delimited..

save, and open the tab delimited file with Microsoft Excel..
0
 
LVL 9

Accepted Solution

by:
SamuraiCrow earned 250 total points
ID: 17852287
Run this on a 2003 server or a Windows XP workstation with the admin tools installed:

dsquery user -limit 0|dsget user -samid -email > C:\report.txt

if you want the firstname and last name instead of the username run this line:

dsquery user -limit 0|dsget user -fn -ln -email > C:\report.txt

Hope this helps
Crow
0
 

Author Comment

by:cliffordgormley
ID: 17853071
Sean, that does not provide email addresses.
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
RDP up only between 8am-13.00 pm ? 11 83
why user can't see mapped share folder 8 63
Auto-Enrollment Group Policy 2 60
User wants to log with Username or Email 4 83
Preface Having the need * to contact many different companies with different infrastructures * do remote maintenance in their network required us to implement a more flexible routing solution. As RAS, PPTP, L2TP and VPN Client connections are no…
by Batuhan Cetin In this article I will be guiding through the process of removing a failed DC metadata from Active Directory (hereafter, AD) using the ntdsutil tool in a Windows Server 2003 environment. These steps are not necessary in a Win…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

749 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