Beach sea shells close up

Setting the exchange online max send and receive size

Quick post today around setting exchange online max send and receive size. It can be set using the GUI in mailbox properties. I prefer to use powershell when I can.

First make sure you have the latest exchange online powershell module installed.

Then connect to exchange

Connect-ExchangeOnline

if you want to see all mailboxes to the same size, use this command

Get-Mailbox | Set-Mailbox –MaxSendSize 150 MB –MaxReceiveSize 150 MB

Don’t forget to update your mailbox plan so all new mailboxes have the updated limit.

Get-MailboxPlan | Set-MailboxPlan –MaxSendSize 150MB –MaxReceiveSize 150MB

you can confirm and individual mailbox size with

get-mailbox -Identity <UserName> | fl name, MaxSendSize, MaxReceiveSize

or get a csv of all mailboxes

Get-Mailbox -ResultSize 2500| Select-Object Name,MaxSendSize,MaxReceiveSize| Export-CSV -NoTypeInformation -Path "$ENV:UserProfile\desktop\mailboxes.csv"

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.