Exchange mailbox statistics in MB

Get-Mailbox -ignoredefaultscope|Get-MailboxStatistics| select DisplayName,MailboxGuid, Database, StorageLimitStatus,itemcount,LastLogonTime , @{expression = {$_.TotalItemSize.Value.ToMB()}; label="TotalItemSizeMB"},@{expression = {$_.TotalDeletedItemSize.Value.ToMB()}; label="TotalDeletedItemSizeMB"}|export-csv C:\tmp\export.csv -encoding Unicode

 

exchange_stats