Solved

How to find email space for all users in a domain

Posted on 2014-12-21
5
101 Views
Last Modified: 2014-12-26
whats the best way to find the inbox/storage space for all users in our domain? I've been looking around and I can seem to find the answer.

I'm not great with powershell.

exchange 2010 server

thanks in advance
0
Comment
Question by:sirichaiphumirat
5 Comments
 
LVL 24

Accepted Solution

by:
VB ITS earned 250 total points
ID: 40512302
I'm not great with powershell.
That's OK, neither was I when I first started using it but you'll learn! You can do much more with PowerShell than you ever could with the Command Prompt.

Just copy and paste this into the Exchange Management Shell (which I will be referring to here on as EMS for short) on the Exchange server. A quick tip for pasting commands into EMS is to just right click once inside the EMS window:
Get-MailboxDatabase "Your Mailbox Database Name" | Get-MailboxStatistics | Sort TotalItemSize -Desc | ft Displayname, TotalItemSize

Open in new window

You'll need to find out the name of your Mailbox Database in order to run the above command. To do this, open the Exchange Management Console > expand Organization Configuration in the left pane > click on Mailbox > the Database Management tab will contain the name of your mailbox database, use this to replace "Your Mailbox Database Name" in my command above (but keep the quotation marks otherwise the command may not work).
0
 

Author Comment

by:sirichaiphumirat
ID: 40512337
great thank you very much will try this out!!
0
 
LVL 20

Assisted Solution

by:Satya Pathak
Satya Pathak earned 250 total points
ID: 40512484
I Would suggest you to follow the below steps to resolve this issue


1 > Logon on your Exchange server

2 > Open poworshell command Ran as Administrater

3 >  Get-MailboxStatistics -Database "your Mailbox Database Name" | Select DisplayName, ItemCount, TotalItemSize | Sort-Object TotalItemSize -Descending | Export-CSV C:\total mailbox size.csv

After few min you wil see the csv file will be created on C drive

Once command is ran successfully . you can copy the CSV file to desktop and open it to Excle file or you can import in excle file .

Thanks
Satya
0
 
LVL 6

Expert Comment

by:Minecraft_ Enderman
ID: 40518213
Here is a great article to get mailbox folder size with Powershell.

http://exchangeserverpro.com/reporting-mailbox-folder-sizes-with-powershell/
0
 
LVL 17

Expert Comment

by:Viral Rathod
ID: 40518350
Get-Mailbox | Get-MailboxStatistics | where {$_.DisconnectDate -eq $Null} | select Displayname, @{Label=”TotalSize(MB)”;Expression={$_.TotalItemSize.Value.ToMB()}},@{Label=”DeletedItems(MB)”;Expression={$_.TotalDeletedItemSize.Value.ToMB()}},ItemCount,Lastlogontime,@{label=”Storage Limit”;expression={$_.StorageLimitStatus}} | sort -descending “totalsize(MB)”
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
Large Outlook files lead to various unwanted errors and corruption issues. Furthermore, large outlook files can also make Outlook take longer to start-up, search, navigate, and shut-down. So, In this article, i will discuss a method to make your Out…
This video discusses moving either the default database or any database to a new volume.
Many of my clients call in with monstrous Gmail overloading issues with Outlook. A quick tip is to turn off the All Mail and Important folders from synching. Here is a quick video I made to show you how to turn off these and other folders in Gmail s…

831 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