Skip to content
Script to set mailbox quotas at database level or for a single mailbox.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE.md
README.md
Set-MailboxQuota.ps1

README.md

Set-MailboxQuota.ps1

Set default mailbox and mailbox database quotas for an Exchange Server mailbox or mailbox database

Description

This script configures the IssueWarning, ProhibitSend and ProhibitSendAndReceive attributes for Exchange Server 2013/2016/2019 mailboxes or databases

Parameters

MailboxMaxSize

Maximum mailbox size (aka Prohibit Send and Receive) in GB

ProhibitSendPercent

Prohibit send % of maximum mailbox size (default = 90)

IssueWarningPercent

Issue warning % of maximum mailbox size (default = 80)

AllDatabases

Apply quotas to all Exchange Server 2013 mailbox databases

EmailAddress

Email address of user mailbox to apply quotas to

Examples

.\Set-MailboxQuota.ps1 -MaxMailboxSize 1GB -AllDatabases

Set all Exchange 2013 databases to 1GB max mailbox size and use default percentage (90%/80%) for prohibit send and issue warning

.\Set-MailboxQuota.ps1 -EmailAddress usera@mcsmemail.de -MaxMailboxSize 10GB

Set max mailbox size to 10Gb for a dedicated user and use default percentage (90%/80%) for prohibit send and issue warning

TechNet Gallery

Download and vote at TechNet Gallery

Blog Post

Credits

Written by: Thomas Stensitzki Stay connected:

For more Office 365, Cloud Security, and Exchange Server stuff checkout services provided by Granikos

You can’t perform that action at this time.