Solved

How to find email space for all users in a domain

Posted on 2014-12-21
5
96 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:SatyaPathak
SatyaPathak 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 16

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Local Continuous Replication is a cost effective and quick way of backing up Exchange server data. The following article describes the steps required to configure Local Continuous Replication. Also, the article tells you how to restore from a backup…
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 a User Mailbox 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 >> Mailb…
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …

707 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

20 Experts available now in Live!

Get 1:1 Help Now