How to Determine active mailboxes connected on Exchange Server 2010 Client Access

Here a very good script from Mike Pfeiffer quick way to check how many users connected to client access server using exchange 2010 monitor counters

We need to know how many users will get effected if we have a downtime, With the help of performance counters we can identify the no of users currently active in CAS servers RPC or OWA.

You can also go through a complete list of counters for exchange 2010 CAS and Mailbox

function Get-CASActiveUsers {
[Parameter(Position=0, ParameterSetName=”Value”, Mandatory=$true)]
[Parameter(Position=0, ParameterSetName=”Pipeline”, ValueFromPipelineByPropertyName=$true, Mandatory=$true)]

process {
switch($PsCmdlet.ParameterSetName) {
“Value” {$servers = $ComputerName}
“Pipeline” {$servers = $Name}
$servers | %{
$RPC = Get-Counter “\MSExchange RpcClientAccess\User Count” -ComputerName $_
$OWA = Get-Counter “\MSExchange OWA\Current Unique Users” -ComputerName $_
New-Object PSObject -Property @{
Server = $_
“RPC Client Access” = $RPC.CounterSamples[0].CookedValue
“Outlook Web App” = $OWA.CounterSamples[0].CookedValue

Copy it in the NotePad and save with PS1 format

Open the Exchange Management Shell

Here I have used dot sourced before the script and also there is space between dot and then location of your script otherwise it won’t work.


Exchange 2010 Service Pack 3 Features

Microsoft Exchange Server 2010 SP3 was release 12 feb 2013 with Co-Existing Support of Exchange 2013.In addition to it has fixed all the issues which was reported with the previous Service Pack.

Some of the features and Functions are added in the Service pack which has follow

  • Exchange 2013 Coexistence support
  • Sent Items Management feature
  • Windows Server 2012 Supports


Exchange 2013 Co-Existence

This feature introduced to migrate your Exchange Server from 2010 to 2013 in co-existence mode, But you cannot perform an Inplace upgrade you need to do transition from 2010 to 2013.



Sent Item Management Feature

The Sent Items Management feature is great feature from Exchange 2013 which can provides control over whether an item that is “sent as” you, or “on behalf of” you, is copied to your Sent Items folder and to the sender’s Sent Items folder as well.


Windows 2012 Support

Now we can deploy Exchange 2010 on windows 2012


You can find on technet

Exchange 2013 Jetstress Tool

Jetstress tool required to help performance and stability of a disk subsystem prior to putting an Exchange 2013 server into production.

Jetstress helps verify disk performance by simulating Exchange disk Input/Output (I/O) load. Specifically, Jetstress simulates the Exchange database and log file loads produced by a specific number of users.

Download this from below link

Support OS

Windows 2008 R2 , 2012.





Exchange Bulk User Creation

Best tool for Creating Bulk Exchange mailboxes for Exchange 2013

You can download the Exchange 2013 Bulk User Creation Tool from the following link. You will need to have version 4.5 of the .NET framework installed as well as the Exchange 2013 management tools.