Get-WebRequest

Get-WebRequest

Gets the IIS requests that are currently being executed.

Syntax

Get-WebRequest [-InputObject <PSObject>] [-AppPool <String>] [-Process <UInt32>] [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>]

Detailed Description

Shows IIS requests that are currently being executed.

Parameters

-InputObject <PSObject>

Input object from which parameter data is received.

Attributes

Name Value

Required?

false

Accept wildcard characters?

false

Accept Pipeline Input?

true (ByValue)

Position?

named

-AppPool <String>

The application pool from which request information is retrieved.

Attributes

Name Value

Required?

false

Accept wildcard characters?

false

Accept Pipeline Input?

true (ByPropertyName)

Position?

named

-Process <UInt32>

Specifies a process ID for which request information is retrieved.

Attributes

Name Value

Required?

false

Accept wildcard characters?

false

Accept Pipeline Input?

true (ByPropertyName)

Position?

named

-WarningAction <ActionPreference>

Attributes

Name Value

Required?

false

Accept wildcard characters?

false

Accept Pipeline Input?

false

Position?

named

-WarningVariable <String>

Attributes

Name Value

Required?

false

Accept wildcard characters?

false

Accept Pipeline Input?

false

Position?

named

-CommonParameter

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see About Common Parameter

Input and Return Types

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

Input Type

.

Return Type

.

Notes

Examples

EXAMPLE 1: Get request that are currently being executed

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

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