Friday, October 16, 2009

Expression Example with Mailbox Statistics

get-mailboxstatistics [mailbox/s] | sort-object TotalItemSize -descending | ft Displayname,@{label="Total Size (MB)";expression={$_.TotalItemSize.Value.ToMB()}}
**********************************************************************
This message is intended for the addressee named and may contain
privileged information or confidential information or both. If you
are not the intended recipient please delete it and notify the sender.
**********************************************************************