Solved

List multiple mailbox locations using powershell in Exchange 2010

Posted on 2013-10-24
2
416 Views
Last Modified: 2013-10-24
Hi guys, i would like to be able to list the databases in which mailboxes reside. For example i have several mailboxes beginning with test london, test NY  etc etc which should reside on the corresponding database. is it possible to search for test* and list the location of the mailbox in exchange 2010

thanks
0
Comment
Question by:cwstad2
[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 Comments
 
LVL 9

Accepted Solution

by:
Mahesh Sharma earned 500 total points
ID: 39596807
Try this:

Get-mailbox -resultsize unlimited | where-Object {$_.DisplayName -like 'Test*'} | FL Alias, Database
0
 
LVL 15

Author Closing Comment

by:cwstad2
ID: 39596826
perfect thanks
0

Featured Post

Office 365 Advanced Training for Admins

Special Offer:  Buy 1 course, get 2nd free!  Buy the 'Managing Office 365 Identities & Requirements' course w/ Accelerated TestPrep, and automatically receive the 'Enabling Office 365 Services' course FREE!

Question has a verified solution.

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

The Nano Server Image Builder helps you create a custom Nano Server image and bootable USB media with the aid of a graphical interface. Based on the inputs you provide, it generates images for deployment and creates reusable PowerShell scripts that …
A project that enables an administrator to perform actions within a user session context not just at the time of login but any time later on day(s) or week(s) later.
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

734 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