Configuring the mailbox database limits

The Exchange Management Shell provides cmdlets that allow you to configure the storage limits for mailbox databases. This recipe will show you how to set these limits interactively in the shell or in bulk using automated script.

How to do it...

To configure the storage limits for a mailbox database, use the Set-MailboxDatabase cmdlet, for example:

Set-MailboxDatabase -Identity DB1 `
-IssueWarningQuota 2gb `
-ProhibitSendQuota 2.5gb `
-ProhibitSendReceiveQuota 3gb

How it works...

In the example, we have configured the IssueWarningQuota, ProhibitSendQuota, and ProhibitSendRecieveQuota limits for the DB1 mailbox database. These are the storage limits that will be applied to each mailbox that is stored in this ...

Get Microsoft Exchange Server 2013 PowerShell Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.