Get-WebRequest

Gets the IIS requests that are currently being executed.

Syntax

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

Description

Shows IIS requests that are currently being executed.

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.

Optional Parameters

-AppPool

The application pool from which request information is retrieved.

Type:String
Aliases:pool
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-InputObject

Input object from which parameter data is received.

Type:PSObject
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-Process

Specifies a process ID for which request information is retrieved.

Type:UInt32
Aliases:proc, procid, pid, wp
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False