Show users connected to a CAS – Exchange 2010
Show number of users connected to Client Access Servers
Get-Counter “\MSExchange RpcClientAccess\User Count” -ComputerName cas1,cas2 |ft
Show number of users connected to Outlook Web Access / Webmail
Get-Counter “\MSExchange OWA\Current Unique Users” -ComputerName cas1,cas2 |ft
Show named users connected to CAS and Mailbox server
Get-LogonStatistics -Server “exch1” | where {$_.clientname -eq “cas1”}| ft username,servername,clientname