• Photos Photos
  • Linked In Linked In
  • Google + Google +
  • Facebook Facebook
  • Flickr Flickr
  • Vimeo Vimeo

www.gavinwill.me.uk

Photography, IT, Bikes and more.

  • Pages

    • About
    • Blog
    • Contact
    • Home
  • Archives

    • January 2013
    • September 2012
    • August 2012
    • July 2012
    • June 2012
    • May 2012
    • April 2012
    • March 2012
    • February 2012
    • January 2012
    • December 2011
    • November 2011
  • Search:

Posts

  • View Archive

List Mailbox Sizes in Exchange 2010

Using the Exchange Management Shell it is possible to export a list of Mailbox sizes to a csv file using a very simple command

Get-Mailbox |Get-MailboxStatistics | Sort-Object TotalItemSize -Descending |  select-object DisplayName, {$_.TotalItemSize.Value.ToMB()}  | export-csv -path C:\Temp\MailboxSizes.csv

Get-Mailbox |Get-MailboxStatistics | Sort-Object TotalItemSize -Descending | select-object DisplayName, {$_.TotalItemSize.Value.ToMB()} | export-csv -path C:\Temp\MailboxSizes.csv

Once opened up in Excel or any other spreadsheet the data is clearly presented.

  • March 30, 2012
  • Exchange
  • 0
Cancel Reply

Copyright © 2021 www.gavinwill.me.uk.

  • LinkedIn
  • Google +
  • Facebook
  • Flickr
  • Vimeo
Back to Top