Set default mailbox and mailbox database quotas for an Exchange Server mailbox or mailbox database
This script configures the IssueWarning, ProhibitSend and ProhibitSendAndReceive attributes for Exchange Server 2013/2016/2019 mailboxes or databases
Maximum mailbox size (aka Prohibit Send and Receive) in GB
Prohibit send % of maximum mailbox size (default = 90)
Issue warning % of maximum mailbox size (default = 80)
Apply quotas to all Exchange Server 2013 mailbox databases
Email address of user mailbox to apply quotas to
.\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
Written by: Thomas Stensitzki
- My Blog: http://justcantgetenough.granikos.eu
- Twitter: https://twitter.com/stensitzki
- LinkedIn: http://de.linkedin.com/in/thomasstensitzki
- Github: https://github.com/Apoc70
- MVP Blog: https://blogs.msmvps.com/thomastechtalk/
- Tech Talk YouTube Channel (DE): http://techtalk.granikos.eu
For more Office 365, Cloud Security, and Exchange Server stuff checkout services provided by Granikos
- Blog: http://blog.granikos.eu
- Website: https://www.granikos.eu/en/
- Twitter: https://twitter.com/granikos_de