Managing mailboxes and their quota limits in Exchange

Managing mailboxes and their quota limits in Exchange

Management of the Microsoft Exchange environment in an organization is a comprehensive process. One of the various tasks is managing mailboxes, defining their quota limits, and identifying those that are over their given quota limit. This task can be made easier using PowerShell. 

Identifying mailboxes that are over their quota limits:

PowerShell does not have a direct command that will identify mailboxes over their quota limit. The information will be delivered as part of a mailbox's entire statistics. Hence, an administrator can use the Get-MailboxStatistics cmdlet to identify mailboxes that are over their quota limit.
 
The following script, when entered into the Exchange Management Console, will return a list of mailboxes that have crossed their quota:
 
  1. Get-Mailbox -Resultsize Unlimited | Get-MailboxStatistics | where {$_.StorageLimitStatus -eq “IssueWarning”}
  2. Get-Mailbox -Resultsize Unlimited | Get-MailboxStatistics | where {$_.StorageLimitStatus -eq “ProhibitSend”}


    • Related Articles

    • How to find unused Exchange Online mailboxes

      What are unused Exchange Online mailboxes and how to identify them? Unused Exchange Online mailboxes are user mailboxes which are currently not being used by their users. There are 3 ways in which we can identify if a mailbox is unused or not. They ...
    • Managing Microsoft updates on Windows

      System update management for Windows machines in an Active Directory (AD) environment is a critical task of an administrator. While managing the updates for a handful of machines is a fairly simple task, managing a many Windows machines and keeping ...
    • Create a mailbox database in Exchange Server

      Manually provisioning mailbox databases to new users can be arduous. However, administrators can turn to PowerShell scripts to create mailbox database easily. The below script will create a mailbox database in an Exchange Server with the name 'D10'. ...
    • Managing Microsoft 365 Compliance and Retention Policies with PowerShell

      Microsoft 365 provides a range of compliance and retention features that enable organizations to meet their legal, regulatory, and business requirements. These features include compliance policies, retention policies, and retention labels. PowerShell ...
    • How to monitor Microsoft 365 email and mailbox activity with PowerShell

      Monitoring Microsoft 365 email and mailbox activity with PowerShell can be a crucial part of managing your organization's email security and compliance. With PowerShell, you can quickly and easily automate the process of monitoring email and mailbox ...