Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 267
  • Last Modified:

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

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
Senior IT System Engineer
Asked:
Senior IT System Engineer
  • 3
  • 2
1 Solution
 
Senior IT System EngineerIT ProfessionalAuthor Commented:
hi, the Size in GB doesn't show up still ?
0
 
Gareth GudgerCommented:
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
Get quick recovery of individual SharePoint items

Free tool – Veeam Explorer for Microsoft SharePoint, enables fast, easy restores of SharePoint sites, documents, libraries and lists β€” all with no agents to manage and no additional licenses to buy.

 
Senior IT System EngineerIT ProfessionalAuthor Commented:
My exchange servers are two stand alone mailbox servers, so there is no cluster name.
0
 
Gareth GudgerCommented:
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
 
Senior IT System EngineerIT ProfessionalAuthor Commented:
Thanks !
0

Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered β€œyes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now