Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can list all used addresses in Exchange and find out who they 1

Status
Not open for further replies.

PHead2

Technical User
Dec 18, 2001
222
I need to find out how to list all of the addressed being used in Exchange (x@mydomain.com) and who that address is assigned to.

Some addresses had been previously assigned that I need to give to other people (i.e. sales and marketing). I don't know hwo has these as this was done before I got here.

There must be a way to list all the addresses, but I can't figure it out.
 
Run this command on one of your DC or Exchange Servers

ldifde -f export.ldf -r &quot;(&(mail=*)(|(objectClass=user)(objectClass=group)))&quot; -d dc=<yourdomain>,dc=com -l proxyAddresses,mail

Change the -d option to your reflect the DN where you want to start the search, replace the <yourdomain> with your domain name. Also if you change the objectClass=user to objectClass=person, it should also pick up the contacts as well (if you use contacts).

This will give you an output of each user and group object and their email addresses. You can then search this text file (export.ldf) for the email addresses you’re looking for.

Good Luck,
Jon
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top