• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 446
  • Last Modified:

List multiple mailbox locations using powershell in Exchange 2010

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
cwstad2
Asked:
cwstad2
1 Solution
 
Mahesh SharmaCommented:
Try this:

Get-mailbox -resultsize unlimited | where-Object {$_.DisplayName -like 'Test*'} | FL Alias, Database
0
 
cwstad2Author Commented:
perfect thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

NEW Internet Security Report Now Available!

WatchGuard’s Threat Lab is a group of dedicated threat researchers committed to helping you stay ahead of the bad guys by providing in-depth analysis of the top security threats to your network.  Check out this quarters report on the threats that shook the industry in Q4 2017.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now