Tag Archives: SMTP addresses

Exchange 2010 – Export all SMTP email addresses to file

This Powershell script is very helpful if you want to have all email addresses in the Exchange organization. Save the following script to a .ps1 file and execute from Exchange Powershell: cls write-host "`nSMTP Address export to file `n`n`n" write-host "Where do you want to store the export-file? (c:\smtpexport.csv)`n`n" $location = read-host "enter path/filename" Get-Mailbox -ResultSize Unlimited | Select-Object DisplayName,ServerName,PrimarySmtpAddress,@{Name=“EmailAddresses”;Expression={$_.EmailAddresses …

Read More »