skip to Main Content

Get shared mailbox size in Office 365 with PowerShell

How to connect to Exchange Online and get shared mailbox size in Office 365? One of the reasons is that you had a migration to Office 365, and you want to check the shared mailbox size in Office 365. This article will teach you how to list shared mailbox size with PowerShell in Office 365.

Did you know that a free shared mailbox is limited to 50 GB? Assign a license to the shared mailbox, or that specific mailbox can’t send and receive emails!

Connect to Exchange Online PowerShell V2

Before you start, Connect to Exchange Online PowerShell V2. After that, check if you did connect to Exchange Online. An excellent way is to run the Get-EXOMailbox cmdlet and list five shared mailboxes.

Get shared mailbox size with PowerShell in Office 365

Make use of the -RecipientTypeDetails parameter to filter the results on shared mailboxes. Run the command to get all shared mailboxes size in Office 365. Note that it will sort the results on TotalItemSize.

Only a couple of shared mailboxes are above 50 GB in size. We already assigned a license to the shared mailboxes HR and IT.

Read more: Get mailbox size greater than in Office 365 »

A user must have an Exchange Online license to access a shared mailbox, but the shared mailbox doesn’t require a separate license. Without a license, shared mailboxes are limited to 50 GB. To increase the shared mailbox size limit to 100 GB, you must assign an Exchange Online Plan 2 license or an Exchange Online Plan 1 license with an Exchange Online Archiving add-on license.

Keep reading: Check which mailboxes are in sync with Office 365 »


In this article, you learned how to get shared mailbox size in Office 365 with PowerShell. Connect to Exchange Online and run the cmdlet. It’s an excellent cmdlet to retrieve the size of the shared mailbox. Keep in mind that a shared mailbox maximum size is 50 GB, without an Exchange Online license assigned.

Did you enjoy this article? You may also like Bulk move AD users to another OU with PowerShell. Don’t forget to follow us and share this article.



ALI TAJRAN is a passionate IT Architect, IT Consultant, and Microsoft Certified Trainer. He started Information Technology at a very young age, and his goal is to teach and inspire others. Connect with ALI TAJRAN on social media. Read more »

This Post Has 0 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

Back To Top