My PowerShell

Windows Powershell scripts, examples, tips, docs …

Determine the Number of Active Users on Exchange 2010 Client Access Servers with PowerShell

It’s always good to know how many active connections are currently open on each of your Client Access Servers (CAS). The following PowerShell script will grab performance counter data from each server to determine the number of active OWA (Web access) and RPC (Outlook) connections:

In this example we will be looking at 2 CAS servers cas01 and cas02.


Active RPC (Outlook) connections:

Get-Counter “\MSExchange RpcClientAccess\User Count” -ComputerName cas01,cas02


Active OWA (Web access) connections:

Get-Counter “\MSExchange OWA\Current Unique Users” -ComputerName cas01,cas02


To get all of your CAS servers:




Tagged as:

Leave a Response