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
Related commands
- Get-MailboxInspect mailboxes
- Set-MailboxConfigure a mailbox
The same reference, with no signal at all
Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).
Get it free on the App Store