As you enable archive mailboxes for end users and set up retention policies, you may find that the default limitations configured for archive mailboxes do not meet your needs. In this recipe, you'll learn how to modify archive mailbox quotas using the Exchange Management Shell.
Set-Mailbox dsmith -ArchiveQuota 10gb -ArchiveWarningQuota 8gb
Get-Mailboxcmdlet to retrieve the mailboxes that need to be updated and pipe the results to the
Set-Mailboxcmdlet. For example, the following one-liner would update all the users in the
Get-Mailbox -Database DB01 | Where-Object ...