PowerShell » Get-MailboxStatistics

How to check mailbox size in Microsoft Exchange using PowerShell scripts

Your download is in progress and it will be complete in just a few seconds! If you face any issues, download manually here
Stay informed about Exchange with
Exchange Reporter Plus
  • Please enter business email address
  •  
    By clicking 'Proceed to Download', you agree to processing of personal data according to the Privacy Policy. You can unsubscribe from our mails at anytime.

Using PowerShell scripts to check mailbox size in Exchange involves usage of the Get-MailboxStatistics cmdlet, by which administrators can gain insights into the size of mailboxes within their Exchange environment. The steps mentioned below can be used to check mailbox size in your Exchange environment using Windows PowerShell. ManageEngine Exchange Reporter Plus, an extensive tool used for reporting, auditing, monitoring, and creating alerts for critical activities in your Exchange environment, can also be used for this purpose.

The following table is a comparison on how to check mailbox size in Microsoft Exchange using Windows PowerShell and Exchange Reporter Plus.

Windows PowerShell

Steps to check mailbox size using Windows PowerShell

  1. Note down the required parameter mailboxname for checking the memory utilization, where mailboxname refers to the mailbox for which you would like to check the mailbox size.
  2. Execute the following PowerShell cmdlet with the required parameter and its value.

    Get-MailboxStatistics -Identity <mailboxname> | Select-Object DisplayName, TotalItemSize

  3. To sort the mailboxes according to their size for a particular Exchange server in descending order, execute the following PowerShell cmdlet with the required parameter servername. Here, servername refers to the Exchange server for which you would like to check the mailbox size.

    Get-MailboxStatistics -Server <servername> | Sort-Object TotalItemsize -Descending

  4. To sort the mailboxes according to their size for a particular Exchange server in ascending order, execute the following PowerShell cmdlet with the required parameter servername.
     Copied
    Get-MailboxStatistics -Server <servername> | Sort-Object TotalItemsize -Ascending
    Click to copy entire script

Exchange Reporter Plus

Steps to check mailbox size using Exchange Reporter Plus

  1. Log in to Exchange Reporter Plus and navigate to Reports > Exchange Server > Mailboxes > Size Reports > Mailbox Size.
  2. Enter the Exchange Organization for which you want to generate the report.

Limitations of using Windows PowerShell to check mailbox size in Exchange

  • Administrators must have the following permissions if they wish to execute the above-mentioned PowerShell script.
    • Local Administrator rights
    • The Exchange Organization Management role
    • Remote PowerShell access
  • Only technicians with PowerShell expertise can execute these commands, and the time-consuming nature of PowerShell scripts can impact productivity.

Benefits of using Exchange Reporter Plus to check mailbox size in Exchange

  • Eliminate Exchange privilege elevation: Delegate custom roles to technicians to fetch reports regarding your Exchange environment without the need to elevate their native Exchange privileges.
  • Script-free reporting: Generate comprehensive reports on various aspects of your Exchange environment without the need to memorize or execute complex PowerShell scripts.
  • Over 450 intuitive reports: Generate comprehensive reports on all aspects of Exchange Server, Exchange Online, and Skype for Business. These reports can be exported as CSV, HTML, PDF, XLS or XLSX files.
  • Customized audit profiles: Create actions that you want to audit, and schedule profiles to generate audit reports at regular intervals.
  • 24/7 endpoint and services monitoring: Monitor Exchange server services, databases, database availability groups, storage, and email queues to ensure a hassle-free environment.
  • Mailbox content search: Perform pattern and keyword-based searches to find important information in your organization's mailboxes.
  • Real-time alerts: Configure alert profiles to receive immediate SMS or email notifications when a specific alert is triggered.
  • Exchange migration: Transfer emails, contacts, tasks, and calendars from Exchange Server to Exchange Online with ease.

Easily check mailbox sizes in your Exchange environment.

  Try now for free
A single pane of glass for Exchange Server Monitoring, Reporting and Auditing