[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


Exchange 2007 Get Mailbox Sizes in GB

Posted on 2011-05-05
Medium Priority
Last Modified: 2012-06-22
I have this command:

Get-MailboxStatistics | Sort-Object TotalitemSize -Descending | ft DisplayName, TotalItemSize

How do I edit this to give me the total Item size in GB?

Can someone advise me of this.
Question by:techgenious
  • 3
LVL 10

Accepted Solution

Madjax earned 200 total points
ID: 35698717

Author Comment

ID: 35699947
This is what I got so far:

Get-MailboxStatistics | Sort-Ojbect TotalItemSize -Descending | fl DisplayName,@{$_.TotalItemSize.Value.ToGB()}

output i get:


does anyone know what I'm doing wrong?

Author Comment

ID: 35699969
This one gives me an error:
Get-MailboxStatistics | Sort-Ojbect TotalItemSize -Descending | fl DisplayName,@expression={$_.TotalItemSize.Value.ToGB()}

Don't know what I'm doing wrong?

Author Comment

ID: 35699990

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Want to know how to use Exchange Server Eseutil command? Go through this article as it gives you the know-how.
If something goes wrong with Exchange, your IT resources are in trouble.All Exchange server migration processes are not designed to be identical and though migrating email from on-premises Exchange mailbox to Cloud’s Office 365 is relatively simple…
In this video we show how to create an email address policy in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Mail Flow…
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…
Suggested Courses
Course of the Month18 days, 16 hours left to enroll

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question