Solved

List multiple mailbox locations using powershell in Exchange 2010

Posted on 2013-10-24
2
411 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
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
A brief introduction to what I consider to be the best editor for PowerShell.
To show how to create a transport rule 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 Mail Flow >> Rules tab.:  To cr…
This video discusses moving either the default database or any database to a new volume.

856 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