Exchange 2013 Email addresses

techsolve1
techsolve1 used Ask the Experts™
on
Hi I Need to Find all the email addresses only, that were received into an Exchange 2013 mailbox, is this possible in Power shell to do and export them to a csv so i can use as a group mail shot
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2015
Commented:
Interesting question.  You will have to refer to the MessageTracking logs.  Even so, you're only limited with all the information in the available log files.  I think by default, the retention time for the message tracking log file is 30 days.

Also, since it's an Exchange 2013, I think you might have flushed out these logs a few times before unless if circular logging is enabled which delete earlier log files.

Here is an example: https://stackoverflow.com/questions/17871610/exchange-export-all-incoming-and-outgoing-email-addresses-to-csv
Top Expert 2015

Commented:
There is no way to extract all the email addresses that's ever received by Exchange because the log is limited to 30 days by default.  Example of outputting the log file in powershell provided.

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