Solved

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

Posted on 2014-11-27
3
845 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 10

Accepted Solution

by:
Maclean earned 500 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 9

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
Find out what you should include to make the best professional email signature for your organization.
This video discusses moving either the default database or any database to a new volume.
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

786 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