Question:How To Get A List Of All Email Addresses Using Exchange Shell On Exchange Server 2010

Answer: To get all the email addresses of all the users in our Exchange Organization we 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