Need help creating query for all mail users in our domain
Posted on 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.