Solved

Shell Command to get Smtp address of all mailboxes

Posted on 2011-03-09
4
1,018 Views
Last Modified: 2012-05-11
Hi ,

Please suggest a Shell command to get email address and DisplayName of all mailboxes in exchange database.
0
Comment
Question by:iriz
  • 2
  • 2
4 Comments
 
LVL 74

Accepted Solution

by:
Glen Knight earned 500 total points
Comment Utility
Use the following:

Get-Mailbox | fl Name, WindowsEmailAddress
0
 

Author Closing Comment

by:iriz
Comment Utility
Thankssssss .. :)
0
 
LVL 74

Expert Comment

by:Glen Knight
Comment Utility
You could also use the PrimarySmtpAddress instead of WindowsEmailAddress this will return the primary address if more emaill addresses are in use.
0
 

Author Comment

by:iriz
Comment Utility
Some one told me to user below command.. It never worked..

Get-Mailbox -resultsize unlimited | where {$_.emailaddresses -like "*domain.com.*"} | Export-csv c:\DomainComAu.csv
0

Featured Post

Do email signature updates give you a headache?

Do you feel like you are constantly making changes to email signatures? Are the images not formatting how you want them to? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today.

Join & Write a Comment

ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
In this video we show how to create a Contact 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 >> Contact ta…
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

743 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

13 Experts available now in Live!

Get 1:1 Help Now