Get-Web Request

Gets the IIS requests that are currently being run.

Syntax

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

Description

The Get-WebRequest cmdlet gets Internet Information Services (IIS) requests that are currently being run.

Examples

Example 1: Get requests that are currently being run

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

This command gets a list of IIS requests that are currently being run.

Optional Parameters

-AppPool

Specifies 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

Specifies the 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