We help IT Professionals succeed at work.
Get Started

Need help creating query for all mail users in our domain

Last Modified: 2012-08-13
I have a department that needs an Excel spreadsheet of all users with a mailbox in our domain.  preferably Full name (account name/logon name won't help them) and exchange mail address. i need either a query in AD Users and Computers with instructions how (to include how to put in excel) or a command line query exporting to excel.  i do not know/use Powershell, so i would need this in the form of a dsquery, dsget, etc so i can run it off of my command line.  i tried a query but it ran/hung for over a day so i'm assuming something was wrong.  we have about 2000 users in our Exchange 2003 domain.  thanks.
Watch Question
This problem has been solved!
Unlock 1 Answer and 8 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE