Solved

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

Posted on 2014-11-27
3
1,364 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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

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.
A couple of months ago we ran into an issue that necessitated re-creating our Edge Subscriptions. However, when we attempted to execute the command: New-EdgeSubscription -filename C:\NewEdgeSub_01.xml we received an error indicating that the LDAP se…
In this video we show how to create a Contact 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 Recipients >> Contact ta…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Suggested Courses

624 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