Microsoft Exchange 2007 / 2010 – Statistics using Exchange Management Shell (EMS)

Using Microsoft Exchange 2007 / 2010 Management Shell (PowerShell with extensions), you can pull out some very exciting statistics. That was never that easy in the pre Exchange 2007 era. Logo_ExchangeSvr

Let’s start with some easy stuff..

Get the number of Public Folders

Get-PublicFolder -Recurse | Measure-Object

Get the sum / number of Mails / Object in all Public Folders

Get-PublicFolderStatistics | Measure-Object -Property ItemCount -Sum

Get the number of Mailboxes

Get-Mailbox | Measure-Object

Get the number of sent messages / emails within a date range

Get-MessageTrackingLog -Start "29.11.2009" -End "30.12.2009" -ResultSize Unlimited | Measure-Object

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">