All old time exchange administrators are so used of MMC interface with exchange administration and it was easy navigate thru mailstores to pull out mailbox user related reports with customized columns like mailbox size.
In exchange 2007 we couldn't find these options in MMC console and i have googled found some interesting result. Microsoft avoided mailbox information related features in MMC based Exchange admin console due to the stress on mailboxes during report time. Its nice but how to get what we need.
Yup.... there is an alternative thru power shell script. a simple script made to pull the mailbox size details with username, count of mails and size in MB.
"Get-MailboxStatistics | Sort-Object TotalItemSize -Descending | ft DisplayName,@{label=”TotalItemSize(MB)”;expression={$_.TotalItemSize.Value.ToMB()}},ItemCount"
This script will provide traditional report for mailbox users and its size.
"Get-MailboxStatistics -Database “Mailbox Database” | Sort -Property TotalItemsize | Format-Table DisplayName, LastLoggedOnUserAccount, ItemCount, @{expression={$_.totalitemsize.value.ToMB()};label=”Size(MB)”}, LastLogonTime, LastLogoffTime"
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment