Solved

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

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

Want to promote your upcoming event?

Are you going to an event? Are you going to be exhibiting at a tradeshow? Talking at a conference? Using a promotional banner in your email signature ensures that your organization’s most important contacts stay in the know and can potentially spread the word about the event.

Join & Write a Comment

ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
In this video we show how to create an email address policy 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…
how to add IIS SMTP to handle application/Scanner relays into office 365.

760 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now