Link to home
Create AccountLog in
Avatar of Pesmerga
PesmergaFlag for Greece

asked on

Need help with get-mailboxstatistics command

We have an Exchange 2007 and I have a question.How the syntax should be so that i can see any mailbox which is over a certain size,let's say 30 MB?If there is a way to see all the mailbox sizes with Exchange Management Console i'd be happy to know,if not then i'm ok with only the command for the Shell.Thank you.
ASKER CERTIFIED SOLUTION
Avatar of Andres Perales
Andres Perales
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of Pesmerga

ASKER

Thank you,I found what i was searching.
With some modifications I was in need for  this, in case someone will need it in the future:
Get-MailboxStatistics | Sort-Object TotalItemSize -Descending | ft DisplayName,@{label="TotalItemSize(KB)";expression={$_.TotalItemSize.Value.ToKB()}},ItemCount > mailboxes.txt

Open in new window

Thanks