In fact, I think this method is a lot of, I only say one of them, as to why so write, does not matter.
[PS] C:\windows\system32>get-mailbox-resultsize Unlimited | Get-mailboxstatistics | Sort-object Totalitemsize-descendi
ng | Select-object Displayname,totalitemsize-first 40
Would like to refer to this command, you can go here to see:
Https://docs.microsoft.com/en-us/powershell/module/exchange/mailboxes/get-mailboxstatistics?view=exchange-ps
PowerShell commands are very flexible, this is a scripting language, that is, the sense that Microsoft is doing this shell is much better than Linux, there is a unified specification. I planned to record a 100-episode PowerShell video, but I saw few people in the country using these things. or forget it.
Do management, want to appear more professional point than others, or shell for batch management is better, efficiency will greatly improve.
Exchange Server PowerShell cmdlet view commands for the Top 40 mailbox users