Tuesday, January 6, 2015

Exchange server view mailbox and archive mailbox size

(Get-Mailbox) | Select-Object name,@{n="Primary Size(MB)";e={(Get-MailboxStatistics $_).totalItemsize.value.toMB()}},@{n="Archive Size(MB)";e={(Get-MailboxStatistics -archive $_).totalItemsize.value.toMB()}} | Export-csv c:\report.csv

No comments:

Post a Comment

 
span.fullpost {display:inline;}