How To Get A List Of All Email Addresses Using Exchange Shell On Exchange Server 2010
Need to use the Get-Mailbox cmdlet and pipe the result.
The following cmdlet will show you how to get the Name and the Email Address of all users with a mailbox.

Get-mailbox -resultsize 3000 |Format-Table name, PrimarySmtpAddress
Tags: Exchange; Exchange 2010; Microsoft