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
242 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
3 Comments
 
LVL 10

Expert Comment

by:SeanUK777
Comment Utility
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
Comment Utility
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
Comment Utility
Sean, that does not provide email addresses.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

The HP utility "HP Lights-Out Online Configuration Utility for Windows Server 2003/2008" could be of great use when it comes to remotely configure a HP servers ILO WITHOUT rebooting the server. We would only need to create and run scripts using thi…
Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

763 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now