O'Reilly logo

Microsoft Exchange Server 2013 PowerShell Cookbook - Second Edition by Mike Pfeiffer, Jonas Andersson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Reporting on active OWA and RPC connections

One of the nice things about using PowerShell to manage Exchange is that you have a great deal of flexibility when it comes to solving problems. When the Exchange Management Shell does not provide a cmdlet that specifically meets your needs, you can often tap into other resources accessible through PowerShell. This recipe provides a great example for this. In this recipe, we'll use PowerShell to query performance counter data to determine the number of active OWA and HTTP/RPC (Outlook Anywhere) connections on one or more Mailbox servers.

How to do it...

  1. To determine the number of users currently logged into OWA on a Mailbox server, use the following command syntax:
    Get-Counter –Counter '\\tlex01\MSExchange ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required