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

x
?
Solved

Powershell script to list size of all users' mailbox folders

Posted on 2009-04-30
6
Medium Priority
?
1,493 Views
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?  
0
Comment
Question by:gedney77090
  • 4
  • 2
6 Comments
 
LVL 24

Expert Comment

by:Rajith Enchiparambil
ID: 24269993
get-mailboxfolderstatistics -identity username
0
 
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
0
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

by:gedney77090
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.
0
 
LVL 24

Accepted Solution

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

Author Closing Comment

by:gedney77090
ID: 31576422
that the ticket; thank you sir
0

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