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”}