Powershell List Active HTTP Requests

iis, powershell

Solution

There is a way.

I use the following:

Get-Website | where {$_.name -eq $webSite} | Get-WebRequest

The variable `$webSite` is just the web site name but the `Get-WebSite -Name "SiteName"` doesn't seem to work.

https://technet.microsoft.com/en-us/library/ee790581.aspx

Problem

In Windows 2008 there is APPCMD which can be used as so: ``` appcmd list request appcmd list request /apppool.name:DefaultAppPool ``` Is there a way to accomplish this in Powershell?

Original source