Scripts Exchange 2007

Home Forums Messaging Software Exchange 2007 / 2010 / 2013 Scripts Exchange 2007

Viewing 1 post (of 1 total)
  • Author
  • Avatar

    I was wondering if anyone had any knowledge of scripting in exchange 2007, I have created a script to extract the following info from our exchange databases and export to a csv, I have most of the fields working apart from total message count, which although it displays the heading there is no data below it

    Get-MailboxStatistics | Sort TotalItemSize -Descending | select-object DisplayName, @{label=”Total Size (MB)”;expression={$_.TotalItemSize.Value.ToMB()}},@{label=”Deleted Item Size (MB)”;expression={$_.TotalDeletedItemSize.Value.ToMB()}},@{label=”TotalItems”;expression={$_.ItemCount()}} | Export-CSV “c:monthly mailbox details.csv”

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.