Hey Guys and girls hope you all are taking care of your health and staying safe during this Covid-19 situation.
So here is just a simple blog post that I’m going to write about, if you are going to do some big changes towards your user’s mailbox features, of course PowerShell is the right method to perform.
As you may know that Microsoft have extend the max size of send message to 150MB, this is not default size but is a allow size for your necessary.
Here is the code;
#First you got to connect to the Exchange Online PowerShell to get the commands Connect-ExchangeOnline -UserPrincipalName <Global admin UPN> -ShowProgress $true #You would want to get the primary ID which is the recipient type details because you are going to make changes on the user mailboxes, this code will gather all mailboxes that are UserMailbox type and the change will take in. Get-Mailbox -RecipientTypeDetails UserMailbox | Set-Mailbox -MaxSendSize 50MB -Verbose #Next to get confirmation that all users has apply the change, write out the result or you could export it to csv, using the Export-Csv command Get-Mailbox -RecipientTypeDetails UserMailbox | Select Name,MaxSendSize
That is about it! Simple as that!