Solved

how to list all exchange 2010 addresses for a specific Domain

Posted on 2013-10-30
2
307 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
ID: 39611924
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
ID: 39611950
Thanks!
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

785 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