Skip to content

Apoc70/Set-MailboxQuota

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

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

Blog Post

Credits

Written by: Thomas Stensitzki

Stay connected

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