Get
-Mailbox
-database
DB100 | Get
-MailboxStatistics
|
Sort-Object
TotalItemSize
-descending
|
Select-Object
DisplayName,ItemCount,@{name=
"MailboxSize"
;exp={$_.totalitemsize}}
-first
10 |
Convertto-Html
|
out-File
report.htm
Exchange 2010 & PowerShell » Blog Archive » Powershell Script to get Top Mailboxes by Size:
No comments:
Post a Comment