Get-WebRequest

Get-WebRequest

Gets the IIS requests that are currently being executed.

Syntax

Parameter Set: InputObject
Get-WebRequest [-AppPool <String> ] [-InputObject <PSObject> ] [-Process <UInt32> ] [ <CommonParameters>]

Detailed Description

Shows IIS requests that are currently being executed.

Parameters

-AppPool<String>

The application pool from which request information is retrieved.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByPropertyName)

Accept Wildcard Characters?

false

-InputObject<PSObject>

Input object from which parameter data is received.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

-Process<UInt32>

Specifies a process ID for which request information is retrieved.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByPropertyName)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

-------------- EXAMPLE 1: Get request that are currently being executed --------------

Returns a list of IIS requests that are currently being executed.

IIS:\>Get-Item IIS:\AppPools\DefaultAppPool | Get-WebRequest