Solved

How to show the top 10 biggest Exchange Server 2010 mailbox capacity using Powershell ?

Posted on 2014-11-26
6
193 Views
Last Modified: 2014-12-14
Hi People,

Can anyone here please assist me in modifying the script below to get the number of mailbox size in Gigabytes ?

Get-MailboxServer | Get-MailboxStatistics | Sort-Object TotalItemSize -Descending | Select-Object DisplayName,@{Label="Size(GB)"; Expression={$_.TotalItemSize.Value.ToGB()}}, Database, LastLogoffTime, DeletedItemCount, DisconnectDate | Select -First 13 | ft -auto

because when I executed the script above, it returns blank.

Thanks in advance.
0
Comment
  • 3
  • 2
6 Comments
 
LVL 8

Expert Comment

by:vSolutionsIT
ID: 40468374
0
 
LVL 7

Author Comment

by:Senior IT System Engineer
ID: 40468393
hi, the Size in GB doesn't show up still ?
0
 
LVL 31

Accepted Solution

by:
Gareth Gudger earned 500 total points
ID: 40468517
Hey IT,

I confirmed the commands in the article vSolutions linked worked on my 2010 server.

Did you miss some of the command perhaps? I'll paste it here.

Get-Mailbox -Server YOURSERVERNAMEHERE | Get-MailboxStatistics | Sort-Object TotalItemSize -Descending | Select-Object DisplayName,@{Label="Size(Gb)"; Expression={$_.TotalItemSize.Value.ToGb()}} -First 10 | ft -auto
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 7

Author Comment

by:Senior IT System Engineer
ID: 40468570
My exchange servers are two stand alone mailbox servers, so there is no cluster name.
0
 
LVL 31

Expert Comment

by:Gareth Gudger
ID: 40468576
My lab is a standalone 2010 SP1 box. That command should work for you on SP2. Replace, YOURSERVERNAME with the name of your Exchange server.
0
 
LVL 7

Author Closing Comment

by:Senior IT System Engineer
ID: 40498653
Thanks !
0

Featured Post

Promote certifications in your email signature

Has your company recently won an award or achieved a certification? They'll no doubt want to show it off. Email signature images used to promote certifications & awards can instantly establish credibility with a recipient and provide you with numerous benefits.

Question has a verified solution.

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

Utilizing an array to gracefully append to a list of EmailAddresses
This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
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
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

911 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now