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
248 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:Seelan Naidoo
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

Ready to get started with anonymous questions?

It's easy! Check out this step-by-step guide for asking an anonymous question on Experts Exchange.

Question has a verified solution.

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

So you have two Windows Servers and you have a directory/folder/files on one that you'd like to mirror to the other?  You don't really want to deal with DFS or a 3rd party solution like Doubletake. You can use Robocopy from the Windows Server 200…
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…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

636 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