Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Export list of email addresses to CSV from Exchange 2010

Posted on 2011-10-16
4
Medium Priority
?
881 Views
Last Modified: 2012-06-27
I would like to export a list of all of our email addresses to CSV. I would like to export to each of the domain name types.
0
Comment
Question by:Mayogroup
  • 3
4 Comments
 
LVL 12

Accepted Solution

by:
Deepu Chowdary earned 2000 total points
ID: 36977229
If you want only SMTP address then use this

Get-Mailbox -ResultSize Unlimited |Select-Object DisplayName,ServerName,PrimarySmtpAddress, @{Name=“EmailAddresses”;Expression={$_.EmailAddresses |Where-Object {$_.PrefixString -ceq “smtp”} | ForEach-Object {$_.SmtpAddress}}}

Add Export-Csv <csv file> to export.

Otherwise use this tool
0
 

Author Comment

by:Mayogroup
ID: 36977404
Thanks, that lists all the email addresses. The export trigger fails however.
Msg says it is not a recognisable cmdlet
0
 

Author Comment

by:Mayogroup
ID: 36977407
Disregard,

I needed to put a pipe before Export ( eg | export)
0
 

Author Comment

by:Mayogroup
ID: 36977414
How do I change it to export only a certain domain name?
0

Featured Post

NEW Veeam Backup for Microsoft Office 365 1.5

With Office 365, it’s your data and your responsibility to protect it. NEW Veeam Backup for Microsoft Office 365 eliminates the risk of losing access to your Office 365 data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As much as Microsoft wants to kill off PST file support, just as they tried to do with public folders, there are still times when it is useful or downright necessary to export Exchange mailboxes to PST files. Thankfully, it is still possible to e…
With so many activities to perform, Exchange administrators are always busy in organizations. If everything, including Exchange Servers, Outlook clients, and Office 365 accounts work without any issues, they can sit and relax. But unfortunately, it…
In this video we show how to create an Accepted Domain in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Ac…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Suggested Courses

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question