How to know the active session counts for a particular website hosted in IIS using PowerShell

Question:

I asked a question about knowing the running session count in IIS.

Get running session count from IIS for my hosted Asp.Net web site

and I got the following powershell script

Rightnow this script is giving active session count for all websites hosted in IIS

I just wanted to know how to modify this script so that it should give active session count only for a particular website.

Answer:

Source:

How to know the active session counts for a particular website hosted in IIS using PowerShell by licensed under CC BY-SA | With most appropriate answer!

Leave a Reply