Quantcast
Channel: Exchange Server Development forum
Viewing all articles
Browse latest Browse all 7132

size to MB

$
0
0

I am having a problem with a script.

If I do

get-mailboxstatistics -id xxx| select itemcount, totalitemsize

I get the correct answers (i.e. no of items and the mailbox size in KB)

I want to display the size in MB so I tried

get-mailboxstatistics -id xxx| select itemcount, @{label="MB";expression={$_.totalitemsize.value.tomb()}}

But I get a blank value and can't work out why. I have read quite a few different posts and it looks like I ave the right syntax but not the right result

Any ideas?

TIA

Andy


Viewing all articles
Browse latest Browse all 7132

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>