How to find the mailbox sizes in Exchange 2010 via Powershell

Thanks to: https://www.oxfordsbsguy.com/

Below are a few scripts that will help with Exchange 2010 reporting.
Get-Mailbox will show you mailbox name, alias, server and prohibit send quota. It’s a start, but no information on mailbox sizes.
Exchange 2010 Get-Mailbox
Using the first script from the Exchange 2007 post you need to add the -server switch, Get-MailboxStatistics -server SERVERNAME | Sort-Object TotalItemSize -Descending | ft DisplayName,@{label=”TotalItemSize(MB)”;expression={$_.TotalItemSize.Value.ToMB()}},ItemCount to get the following report.
Exchange 2010 Get-MailboxStatistics
By adding a redirect you can output the report details to a text file.
Get-MailboxStatistics -server SERVERNAME | Sort-Object TotalItemSize -Descending | ft DisplayName,@{label=”TotalItemSize(KB)”;expression={$_.TotalItemSize.Value.ToKB()}},ItemCount > c:\reports\mailbox_sizes.txt
Exchange 2010 Get-MailboxStatistics Report

Comentarios

Entradas populares de este blog

Guía de herramientas básicas para estudiantes: 31 apps y webs imprescindibles para ayudarte con los estudios

Comando FOR para archivos BAT

How to Setup and Configure Your Own GitLab Server on Ubuntu 20.04