www.anthonygarmont.com
  • Instagram
  • LinkedIn

Powershell - Exchange 2010 Mailbox Size Report

6/14/2013

0 Comments

 
The following script will give you a report of all mailbox sizes in the Exchange Organization.

Get-MailboxStatistics -Database "Mailbox Database 1584415394" | Sort-Object TotalItemSize –Descending | ft @{label=”User”;expression={$_.DisplayName}},@{label=”Total Size (MB)”;expression={$_.TotalItemSize.Value.ToMB()}},@{label=”Items”;expression={$_.ItemCount}} | out-file C:\MailboxSizeReport.txt

Note the -Database paramenter, this might change and would be the name of the current database. Also notice the out-file section and the file location. This would be put on the root of the C: drive on the machine running the script. 
0 Comments
    View my profile on LinkedIn

    Archives

    February 2021
    November 2020
    August 2019
    November 2018
    June 2015
    March 2015
    December 2014
    June 2013
    July 2012
    May 2012

    Categories

    All
    Active Directory
    ADCS
    Cloud Computing
    Microsoft Excel
    Microsoft Exchange
    Microsoft Hyper V
    Microsoft Hyper-V
    Microsoft VDI
    PKI
    Powershell
    Technical

    RSS Feed

    What I believe...
Powered by Create your own unique website with customizable templates.
  • Instagram
  • LinkedIn