Mailbox statistics output with MB
Any upate?
In addition, you can also try the following command.
Get-MailboxStatistics -Identity "username" | Format-Table DisplayName, @{label="Mailbox Size (MB)";expression={$_.TotalItemSize.Value.ToMB()}
Hope it is useful.Noya Lau
TechNet Community Support
August 13th, 2012 4:09am
Any upate?
In addition, you can also try the following command.
Get-MailboxStatistics -Identity "username" | Format-Table DisplayName, @{label="Mailbox Size (MB)";expression={$_.TotalItemSize.Value.ToMB()}
Hope it is useful.Noya Lau
TechNet Community Support
Free Windows Admin Tool Kit Click here and download it now
August 25th, 2012 3:21am
i do Get-MailboxStatistics "username" fl *size*,*count*,*databa*
and it gives me:
TotalDeletedItemSize : 263765373B
TotalItemSize : 3523480938B
AssociatedItemCount : 20
DeletedItemCount : 144
-----------
how can i do get these information in "mb" or "gb" rather than "byte" ?
August 25th, 2012 4:29am
try like this:
Get-MailBoxStatistics mailbox | Select @{name="Total Item Size (MB)"; Expression={$_.TotalItemSize.Value.ToMB()}},DeletedItemCount,@{name="TotalDeletedItemSize(MB)";Expression={$_.TotalDeletedItemSize.Value.ToMB()}}
ExchangeBlog
Regards
Remigiusz
Free Windows Admin Tool Kit Click here and download it now
August 25th, 2012 5:19am
You can refer to the following thread for your question:
http://blogs.technet.com/b/gary/archive/2010/02/20/the-get-mailboxstatistics-cmdlet-the-totalitemsize-property-and-that-pesky-little-b.aspx
http://aspoc.net/archives/2007/11/07/convert-the-get-mailboxstatistics-output-from-bytes-to-mb-or-gb-in-exchange-2007/
Girishp
August 25th, 2012 5:24am