Solved

Get mailboxes sizes in Exchange 2007

Posted on 2011-03-15
3
431 Views
Last Modified: 2012-08-14
Hi

Running Exchange 2007. I would like to get a list of mailboxes in a database and their sizes.

I can get the list of mailboxes fine, but getting their sizes is proving a bit difficult!

There is info in this article: http://www.msexchange.org/articles_tutorials/exchange-server-2007/management-administration/getting-mailbox-statistics-exchange-2007.html

Get-MailboxStatistics | Sort-Object TotalItemSize –Descending | ft DisplayName,@{ expression={$_.TotalItemSize.Value.ToKB()}},ItemCount

Problem is, I am also returned disconnected mailboxes in the DB. Does anyone know how I can get 'live' mailboxes only?
0
Comment
Question by:kam_uk
  • 2
3 Comments
 
LVL 13

Expert Comment

by:Felix Leven
ID: 35142352
lets see:

this shows disconnected mailboxes:
Get-MailboxStatistics -Server | where { $_.DisconnectDate -ne $null } | select DisplayName,DisconnectDate

Get-MailboxStatistics -Server | where { $_.DisconnectDate -eq $null } | select DisplayName,DisconnectDate
0
 
LVL 3

Author Comment

by:kam_uk
ID: 35142370
Hi

I think you misunderstood the question :) I need to find the mailbox sizes of non-disconnected mailboxes in a certain store?
0
 
LVL 13

Accepted Solution

by:
Felix Leven earned 500 total points
ID: 35142546
yes, and this is an example how to select the non-disconnected mailboxes^^

Get-MailboxStatistics |  where { $_.DisconnectDate -eq $null } | Sort-Object TotalItemSize –Descending | ft DisplayName,@{ expression={$_.TotalItemSize.Value.ToKB()}},ItemCount
0

Featured Post

Don't lose your head updating email signatures!

Do your end users still have the wrong email signature? Do email signature updates bore you or fill you with a sense of dread? You can make this a whole lot easier on yourself by trusting an Exclaimer email signature management solution. Over 50 million users do...so should you!

Join & Write a Comment

Resolve Outlook connectivity issues after moving mailbox to new Exchange 2016 server
Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
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…
This video discusses moving either the default database or any database to a new volume.

747 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

12 Experts available now in Live!

Get 1:1 Help Now