Skip to the main content.

1 min read

Addressing Mailbox Quota Requests in Exchange

In any email environment where quotas are enforced, requests to increase quotas are a regular occurrence. The fact of the matter is storage costs money and therefore must be managed in a meaningful way. There has to be some kind of process or mechanism to determine if a quota increase is justified. Typically quota increases are a result of poor mailbox management. One way to help users is to analyze their mailbox for or with them.

For example, do they have a huge Deleted Items, Sent Items, or Calendar folder?

The Exchange Management Shell offers some built-in tools to accomplish this task. Manipulating the data makes it easier to identify quota bottlenecks.

Step-by-Step Instructions:

  1. Copy the following text into notepad and save it as MailboxFolderSize.ps1.

param($alias = $(read-host alias))Get-MailboxFolderStatistics $alias | FT FolderPath,ItemsInFolder,@{label=”FolderSize (KB)”;expression={$_.FolderSize.ToKB()} }Get-MailboxStatistics $alias | FT ItemCount,StorageLimitStatus,@{label=”TotalItemSize (KB)”;expression={$_.TotalItemSize.Value.ToKB()} },@{label=”TotalItemSize (MB)”;expression={$_.TotalItemSize.Value.ToMB()} },LastLogonTime

  1. Save the file to an Exchange 2007 server or computer running Exchange Management Shell (EMS).
  2. Open EMS and navigate to the folder where the file is located.
  3. For the script to work properly you must pass it the name of a valid mailbox. Run MailboxFolderSize.ps1 MailboxName

 

Results: For this example, I’ve used my own account (dave.rowe). You will see in this example that my Sent Items is quite large. There are a couple of other folders that could be cleaned up as well: Austin Fun, SA Fun, RSS Feeds, etc. (Note: I’ve hidden some folder names in the image to protect privacy.)

 

(Thanks again to K Nick Smith at Microsoft for this bit of code.)

Elevating Your Organization's Security with Cloud Security Assessments

Elevating Your Organization's Security with Cloud Security Assessments

As cloud technologies become increasingly integral to business operations, the need for robust security in this domain has never been more pressing....

Decoding the Azure Stack: Global Azure, Azure Stack Hub, and Azure Stack HCI

Decoding the Azure Stack: Global Azure, Azure Stack Hub, and Azure Stack HCI

As organizations pivot towards a hybrid cloud strategy, understanding the nuances between Global Azure, Azure Stack Hub, and Azure Stack HCI becomes...

Understanding Extended Security Update Options for Windows Server 2012

Understanding Extended Security Update Options for Windows Server 2012

Windows Server 2012/R2, a cornerstone of server operating systems, reached its end-of-life on October 10, 2023. This cessation of regular...