When running the following command
Get-MailboxStatistics -database "Database 123" | select DisplayName, TotalItemSize, LastLogonTime | Sort-Object TotalItemSize
I notice that it shows disabled / removed / moved mailboxes, which is a bit confusing.
Comparing
"Get-MailboxStatistics" with
"Get-MailboxDatabase -identity "Database 123" | Get-Mailbox" shows a discrepancy of over 100 mailboxes.
I cannot find any information that MailboxStatistics shows historical data. Can someone shed some light on this ?