Solved

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

Posted on 2014-11-27
3
1,108 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 11

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 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

This article explains how to install and use the NTBackup utility that comes with Windows Server.
How to resolve IMCEAEX NDRs in Exchange or Exchange Online related to invalid X500 addresses.
In this video we show how to create an Accepted Domain 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 >> Ac…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager

734 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