Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

cmdlet to list mailbox sizes per organizational unit

1,155 views
Skip to first unread message

Chris Meehan

unread,
Jun 20, 2008, 2:45:02 PM6/20/08
to
Hello,

I'm trying to come up with my storage group and database design in our new
Exchange 2007 organization. I am currently coexsting with a 2003 org and have
already moved some users to 2007. Wondering if anyone has a powershell script
or a method of finding out mailbox sizes per organiztional unit. Can i use
powershell with the ex07 commands to query Active Directory for a list of
users in an OU and then grab the mailbox statistics for those users if thier
mailbox resides in 2003?

What I"m trying to accomplish is to break up my users into storage groups
and databases that will not exceed 75GB and I have users all over the
country.. Was thinking about mimicking my OU design with storage groups...

Also, would be curious to know how some other people have designed their
storage grps and atabases when they have 4000+ mailboxes nationally
dispersed, while keeping MS best practices in mind when it comes to storage
groups and databases....

thanks in advance.

Chris

Bharat Suneja [MSFT]

unread,
Jun 20, 2008, 3:55:02 PM6/20/08
to
You can use Get-Mailbox with the -OrganizationalUnit parameter and pipe it
to Get-MailboxStatistics:
Get-Mailbox -OrganizationalUnit "YourOUName" | Get-MailboxStatistics | ft
displayName,TotalItemSize -Autosize

--
Bharat Suneja
Microsoft Corporation
blog: exchangepedia.com/blog

This posting is provided "AS IS" with no warranties, and confers no
rights. Please do not send email directly to this alias. This alias is for
newsgroup purposes only.
----------------------------


"Chris Meehan" <Chris...@discussions.microsoft.com> wrote in message
news:9C8E2D69-9E28-43F0...@microsoft.com...

Chris Meehan

unread,
Jun 20, 2008, 4:23:01 PM6/20/08
to
Thank you, the command does work as thoerized but, since the mailboxes reside
in an exchange 2003 database it won't pull the actually data for me.. Shoot!
so close...

Tahir Zafar

unread,
Mar 25, 2010, 3:09:35 PM3/25/10
to
This is not working for me. For Example. There are parent OU and Child names
with same name like Argentina.
I used CN name . It did not produce any results,
I am just trying to use OU name as parameter for Get mailbox statistics
command ,
Thanks for your help.

url:http://www.ureader.com/msg/1172831.aspx

Martin Therkelsen

unread,
Apr 17, 2010, 1:33:14 PM4/17/10
to
Are you sure you are writing it right? I have been using that cmdlet a lot
and it works lige a charm when you get the OU syntax right.

br
Martin

"Tahir Zafar" <tahir...@sodexho.com> skrev i meddelelsen
news:3b21f1730f9e4112...@newspe.com...

0 new messages