Categories
AD/LDAP Administration Exchange 2007 Linux Mailbox Microsoft Scripts SMTP Windows

HOW TO: Export all email addresses from a domain

AD Users & Computers UI lets you list the mail column for each object, which displays the default (SMTP) email address for objects. You can export the list from ADUC as csv/txt. However, any additional email addresses in the proxyAddresses attribute are not exported.

There’s no GUI to list/export all email addresses. Here’s a script to do that – ListEmailAddresses.vbs.

File: ListEmailAddresses.zip

What does it exactly do?
– Queries Active Directory for Contacts & Groups
– Lists their email addresses
– Queries Users
– Lists enabled users’ email addresses
– Lists disabled users’ email addresses separately
– Outputs to command line and also to a text file – c:proxyaddresses.txt
X.400 addresses are ignored

Leave a Reply

Your email address will not be published.