To set maximum email message size for outbound messages for an individual user do the following:
#First check the current size limit: get-mailbox "user" | select MaxSendSize #Then set the prefered size limit: set-mailbox "user" -MaxSendSize XXMB #To set the size limit for all mailboxes run: Get-Mailbox | Set-Mailbox -MaxSendSize XXMB #To set the size limit for a list of mailboxes first create a list with the mailbox names and then run: Import-Csv C:tempmalboxes.csv|%{Set-Mailbox -Identity $_.mailbox -MaxSendSize XXMB}
Pantelis Apostolidis is a Sr. Specialist, Azure at Microsoft and a former Microsoft Azure MVP. For the last 20 years, Pantelis has been involved to major cloud projects in Greece and abroad, helping companies to adopt and deploy cloud technologies, driving business value. He is entitled to a lot of Microsoft Expert Certifications, demonstrating his proven experience in delivering high quality solutions. He is an author, blogger and he is acting as a spokesperson for conferences, workshops and webinars. He is also an active member of several communities as a moderator in azureheads.gr and autoexec.gr. Follow him on Twitter @papostolidis.