Avatar of pireseder
pireseder
Flag for United States of America asked on

How do I find List all SMTP entries including secondary ones for all Users in Active Directory

My goal is to create a report with all additional SMTP entries under Users accounts in Active Directory: (E-mail addresses SMTP) I have (proxyaddresses=smtp:*@*) LDAP query string which returns primary smtp emails only.
Is there a LDAP query string to get all the SMTP under all users?
If not does anybody know of a free tool that could help me get that report?
Thanks
Active DirectoryWindows Server 2003Exchange

Avatar of undefined
Last Comment
Mike Kline

8/22/2022 - Mon
Speshalyst

pireseder

ASKER
This querry did return only the users, eliminating the public folders etc; but it did not bring none of the secondary smtp which I'm sure exists.
ASKER CERTIFIED SOLUTION
Mike Kline

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
pireseder

ASKER
mkline71
adfind worked but the result is a little bit to messy;
in addition I had to add on the command "> results.csv " in order to get an export file to work with.

Apologies if this was a double post but please see:
https://www.experts-exchange.com/questions/23004524/How-to-export-secondary-smtp-addresses.html
***The script is VBS****
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
pireseder

ASKER
The results were messy to work with (I wish I could deduct points for that); but it gets the job done if you have time to format and work with the adfind output. Thanks
Mike Kline

sorry that I didn't add the redirection part to the answer.  
Thanks
Mike