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


Powershell script to list size of all users' mailbox folders

Posted on 2009-04-30
Medium Priority
Last Modified: 2012-06-21
Does anyone know of a Powershell script Get-MailboxStatistics that would list the the inbox and all of the subfolders sizes for an individual mailbox?  
Question by:gedney77090
  • 4
  • 2
LVL 24

Expert Comment

by:Rajith Enchiparambil
ID: 24269993
get-mailboxfolderstatistics -identity username
LVL 24

Expert Comment

by:Rajith Enchiparambil
ID: 24270032
Out the result into a text file for easier manipulation.

get-mailboxfolderstatistics -identity username | fl >c:\details.txt
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.


Author Comment

ID: 24270107
Get-MailboxStatistics -identity "Username" gives me the basic readout but then to have the output list the contents of the mailbox and all subfolders. Is there a way to have that info. listed? Thanks.
LVL 24

Accepted Solution

Rajith Enchiparambil earned 1000 total points
ID: 24270284
Try get-mailboxfolderstatistics -identity username | fl >c:\details.txt

Author Closing Comment

ID: 31576422
that the ticket; thank you sir

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

Are you looking for the options available for exporting EDB files to PST? You may be confused as they are different in different Exchange versions. Here, I will discuss some options available.
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…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager
Suggested Courses

872 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