[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Shell Command to get Smtp address of all mailboxes

Posted on 2011-03-09
4
Medium Priority
?
1,027 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 74

Accepted Solution

by:
Glen Knight earned 2000 total points
ID: 35080512
Use the following:

Get-Mailbox | fl Name, WindowsEmailAddress
0
 

Author Closing Comment

by:iriz
ID: 35080533
Thankssssss .. :)
0
 
LVL 74

Expert Comment

by:Glen Knight
ID: 35080536
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
ID: 35081533
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article will help to fix the below error for MS Exchange server 2010 I. Out Of office not working II. Certificate error "name on the security certificate is invalid or does not match the name of the site" III. Make Internal URLs and External…
How to deal with a specific error when using the Enable-RemoteMailbox cmdlet to create a mailbox in the cloud-based service, for an existing user in an on-premises Active Directory.
In this video we show how to create an Address List 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 Organization >> Ad…
In this video we show how to create a mailbox database 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 Servers >> Data…

656 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