Sunday, October 4, 2015

Total Mailbox Item Size for a list of Mailboxes

Here's a quick cmdlet for gathering the mailbox total item size for a list of mailboxes:

Get-Content <filename path> | Get-Mailbox | Get-MailboxStatistics | select-object displayname, {$_.TotalItemSize.Value.ToKB()} | Export-CSV <export file path>

1 comment:

  1. The information which you have provided is very good and essential for everyone. Keep sharing this kind of information. Thank you.Virtual Mail Address Switzerland

    ReplyDelete