The Exchange Management Shell provides cmdlets that allow you to configure the storage limits for both mailbox and public folder databases. This recipe will show you how to set these limits interactively in the shell or in bulk using automated script.
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
You can set the limits for a public folder database using the following command syntax:
Set-PublicFolderDatabase -Identity PFDB1 ` -IssueWarningQuota 25mb ` -ProhibitPostQuota 30mb ` -MaxItemSize 5mb