JAEN

Microsoft 365

Get-MailboxStatistics

SafeMailbox size

Get-MailboxStatistics <user> | fl TotalItemSize,ItemCount

Shows mailbox size and item count — the first check when 'can't receive mail' means quota.

Examples

  • Get-Mailbox -ResultSize Unlimited | Get-MailboxStatistics | sort TotalItemSize -desc | select -First 10 DisplayName,TotalItemSizeTop 10 largest mailboxes

Syntax

Get-MailboxStatistics <identity> [| fl TotalItemSize]

Before you run it

Read only.

Used when you see

Mailbox over quota
1
Check mailbox size and item count
See the whole flow →

Related commands

The same reference, with no signal at all

Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.

Get it free on the App Store