Solved

how to list all exchange 2010 addresses for a specific Domain

Posted on 2013-10-30
2
301 Views
Last Modified: 2013-10-30
Hi!

I have an exchange server accepting email from 4 different domains.  I want to have a list of all email ending with @emaildomain2.com.

Is it possible?

Thanks!
0
Comment
Question by:polycorjsp
2 Comments
 
LVL 14

Accepted Solution

by:
Ben Hart earned 500 total points
Comment Utility
Try this on for size

Get-Mailbox -resultsize unlimited | Select-Object displayname -expandproperty emailaddresses| Where-Object {$_.smtpaddress -like "*domain.com*"}| Select-Object displayName,SmtpAddress | Export-csv C:\domain.csv

Open in new window

0
 

Author Closing Comment

by:polycorjsp
Comment Utility
Thanks!
0

Featured Post

Too many email signature updates to deal with?

Do you feel like you are taking up all of your time constantly visiting users’ desks to make changes to email signatures? Wish you could manage all signatures from one central location, easily design them and deploy them quickly to users? Well, there is an easy way!

Join & Write a Comment

Resolve Outlook connectivity issues after moving mailbox to new Exchange 2016 server
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
In this video we show how to create a Shared Mailbox 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 Recipients >> Sha…
how to add IIS SMTP to handle application/Scanner relays into office 365.

771 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now