Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How do I obtain a list view of users by database in Exchange 2013

Posted on 2014-11-27
3
Medium Priority
?
1,982 Views
Last Modified: 2014-11-27
Hello Exchange Experts,

I am moving clients to newly created databases, once I have moved them I would like to view the users that are in the new Databases to make sure they moved across correctly.

How do I obtain a list view of users by database in Exchange 2013?
0
Comment
Question by:Hec C
3 Comments
 
LVL 11

Accepted Solution

by:
Maclean earned 2000 total points
ID: 40469855
From Exchange CMDlets

Get-Mailbox -database "servername\Storage Group\Database Store"

That will show mailboxes within the store.

You can also check sizes etc using the below command.
NOTE: You might need to add server\storage group besides store if you have multiple exchange servers

Get-MailboxStatistics  -Database "Your Mailbox store" | Sort-Object TotalItemSize -Descending | ft DisplayName,@{label="TotalItemSize(MB)";expression={$_.TotalItemSize.Value.ToMB()}},ItemCount
0
 
LVL 10

Expert Comment

by:Marshal Hubs
ID: 40469975
You can use this powershell cmdlet - Get-Mailbox -OrganizationalUnit Users to get a list of users and to check the list of all mailboxes use this cmdlet  - Get-Mailbox -ResultSize unlimited . For more info, you can visit http://technet.microsoft.com/en-us/library/bb123685%28v=exchg.150%29.aspx
0
 

Author Closing Comment

by:Hec C
ID: 40469997
Thanks Maclean, that worked a treat! I had to tweak the command a little on my end so it would find the Database store, to:

Get-Mailbox -database "Database Store"

Then added a switch:
> "file location"
To print out the details to a file.
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

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

Stellar Exchange Toolkit: this 5 in 1 toolkit comes loaded with mega-software tool. Here’s an introduction to tools’ usage and advantages:
Mailbox Corruption is a nightmare every Exchange DBA wishes he never has. Recovering from it can be super-hectic if not entirely futile. And though techniques like the New-MailboxRepairRequest cmdlet have been designed to help with fixing minor corr…
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…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Suggested Courses

926 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