Scripts for exchange 2007 – Find User mailbox sizes with database names
Get-MailboxStatistics | Sort-Object TotalItemSize -Descending | Select-Object database,DisplayName,@{label=”TotalItemSize(MB)”;expression={$_.TotalItemSize.Value.ToMB()}},ItemCount | Export-CSV C:\UserMailboxes.csv