Set mailbox quotas at database or mailbox level the simple way

Description

This script helps you to configure mailbox quotas for

  • ProhibitSendReceive
  • ProhibitSend
  • IssueWarning
  • ArchiveQuota
  • ArchiveWarningQuota

on a database level across all Exchange Server 2013/2016 databases in your environment or for a specific user.

Examples

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

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

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

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

Version History

  • 1.0, Initial community release
  • 1.1, Archive support added
  • 1.2, Refactored to functions
  • 1.3, PowerShell hygiene
  • 1.4, Parameters reordered, PowerShell hygiene

Links

Last updated: 2017-04-20

Follow


Entdecke mehr von Granikos GmbH & Co. KG

Melde dich für ein Abonnement an, um die neuesten Beiträge per E-Mail zu erhalten.

Kurz-URL | Short URL: https://granikos.eu/go/YzXe

Entdecke mehr von Granikos GmbH & Co. KG

Jetzt abonnieren, um weiterzulesen und auf das gesamte Archiv zuzugreifen.

Weiterlesen