Link to home
Start Free TrialLog in
Avatar of pramod1
pramod1Flag for United States of America

asked on

Exchange, mailbox

i have exchange 2010 enterprise,

I need to run command in EMS to find which is the largest mailbox in size in my organization

or

list the mailbox with 10  biggest size or run command to list mailboxes with size over 5gb
Avatar of timgreen7077
timgreen7077

you can run the following cmdlet:

Get-Mailbox -ResultSize Unlimited | Get-MailboxStatistics | Sort-Object TotalItemSize -Descending | Select-Object DisplayName,TotalItemSize -First 30

This will give you the top 30
Avatar of pramod1

ASKER

ok I am running I have 70 exchange servers , wil it search all
It will search all mailboxes and output the top 30 largest based on mailbox size.
Avatar of pramod1

ASKER

ok it is still running I will update shortly
Avatar of pramod1

ASKER

it just gave the mail box name and not the size
Avatar of pramod1

ASKER

How can I output to csv file
you didn't copy it correctly, because it would have also gave you the size. all you have to do is copy and paste. No need to change anything.
Avatar of pramod1

ASKER

I copied correctly and how to put output c drive
you can also manually type what I sent you.
if output didn't show size then something was wrong. I tested this before I sent it to you.
drive doesn't matter. if you don't get this working correctly l, out to csv won't work correctly either.
ASKER CERTIFIED SOLUTION
Avatar of timgreen7077
timgreen7077

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of pramod1

ASKER

thanks it worked
Avatar of pramod1

ASKER

we have US , UK mailbox servers. we have DAG environment, I ran this command on a North America mailbox server

so it will cover users only from NA domain, am I right?