$ou = comp2
Get-mailbox -OrganizationalUnit $ou -resultsize unlimited | Get-MailboxStatistics | Sort TotalItemSize -Descending | ft DisplayName,
@{label="TotalItemSize(KB)";expression={$_.TotalItemSize.Value.ToKB()}},
ItemCount,lastlogontime,@{l="OU";e={$OU}}
|