How to creat a list of all e-mail addresses used in exchange

servicad
servicad used Ask the Experts™
on
Looking for a way to creat a list of all e-mail addresses used in Exchnage including alias and which user has which e-mail address.  Is there a tool or utility for this either third party or with exchange or the AD.


Thanks in advance
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Hi servicad,

I would use CSVDE or LDIFDE to get a list of all active directory properties and then filter on that. You can remove unneeded columns which should leave you with columns for just names and email addresses. The email address column will show all email addresses used by that object, users, groups, etc.

Good Luck,

Chris
servicad,

An overview of this and other useful AD tools for exchange such as finding email addresses that already exist and you are unable to find them in accounts.
Expert of the Year 2007
Expert of the Year 2006
Commented:
This should do it for you:

Ldifde -d "DC=domain,DC=co,DC=uk" -r "(&(mailnickname=*))" -l proxyAddresses -f c:\proxies.txt

Change the "DC=domain,DC=co,DC=uk" to match your domain FQDN (so if your domain is domain.local then you will change the second DC=co to DC=local and delete the ,DC=uk).

If you get an error about the tool not being found, install the Windows support tools on to the machine.

Simon.

Author

Commented:
Worked like a charm.  Great command thanks a bunch Simon.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial