Last active
March 29, 2020 17:57
-
-
Save mobernberger/6980d56a74d998a01ca2cde5ba92a8ff to your computer and use it in GitHub Desktop.
With this series of commands you could change the maximum send and receive size in Exchange Online
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Connect to Exchange Online Powershell before running this commands. | |
#Get the actual value for all Mailbox Plans | |
Get-MailboxPlan | fl name,maxsendsize,maxreceivesize,isdefault | |
#Set the the max send and receive size to 50MB | |
Get-MailboxPlan | Set-MailboxPlan -MaxSendSize [On-Prem value in MB / e.g. 50MB] -MaxReceiveSize [On-Prem value in MB / e.g. 50MB] | |
#Set the max send and receive size 50MB for existing mailboxes | |
Get-Mailbox -ResultSize unlimited -Filter {(RecipientTypeDetails -eq 'UserMailbox')} | Set-Mailbox -MaxSendSize 50MB -MaxReceiveSize 50MB |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment