References > Template Reference > Exchange 2007 - 2013 > Exchange 2007-2010 Mailbox Send and Receive Statistics with PowerShell

Exchange 2007-2010 Mailbox Send and Receive Statistics with PowerShell

This template tracks Exchange Mailbox Send/Receive statistics of Exchange 2007-2010 servers with the Mailbox role using PowerShell scripts.

Prerequisites:

  • PowerShell 2.0 and Exchange Management Tools 2007 or 2010 installed on the SAM server.
  • The Exchange server must have an Exchange Mailbox role.
  • The SAM server and the Exchange server must be in the same domain.

Credentials:

The credentials must be an Exchange Administrator (Organization Manager) account with at least view-only permissions.

Monitored Components

For details on monitors, see SAM Component Monitor Types.

Before using this template, under the Advanced tree collapse [+], you should set the correct platform; either 32 bit or 64 bit, from the drop down menu. The default it set to 32 bit.

You must specify the correct arguments in the Script Arguments field of the corresponding PowerShell Monitors. If you fail to do this, the counter will return with an error of "Undefined" status. Put arguments in the following order:

some.user@apm.sw,server,version,domain_controller_name

where:
some.user@apm.sw - the user you want to monitor;
server - hostname or FQDN of target Exchange server
exchange_version - version of target Exchange server (2007 or 2010);
domain_controller_name – hostname or FQDN of domain controller;

For example:

pi@apm.com,xchng2010,2010,dc.apm.com

To see the names of your Exchange servers, run the following command in the Exchange Management Shell: Get-ExchangeServer

To see the names of the users, run the following command in Exchange Management Shell: Get-Mailbox


Number of items received by specific user (total)

This component monitor returns the total number of items received by the specified user.

Number of items sent by specific user (total)

This component monitor returns the total number of items sent by the specified user.

Number of items received by specific user during last hour

This component monitor returns the number of items received by the specified user during the last hour.

Number of items sent by specific user during last hour

This component monitor returns the number of items sent by the specified user during the last hour.

Number of items received by specific user during last day

This component monitor returns the number of items received by the specified user during the last day.

Number of items sent by specific user during last day

This component monitor returns the number of items sent by the specified user during the last day.

Number of items received by specific user during last month

This component monitor returns the number of items received by the specified user during the last month.

Number of items sent by specific user during last month

This component monitor returns the number of items sent by the specified user during the last month.

Number of items received by specific user during last polling period

This component monitor returns the number of items received by the specified user during the last polling period.

Number of items sent by specific user during last polling period

This component monitor returns the number of items sent by the specified user during the last polling period.