Table of contents
TLS
TOC
Collapse the table of content
Expand the table of content

Get-WebRequest

Brian Lich|Last Updated: 4/3/2017

SYNOPSIS

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.

PARAMETERS

-AppPool

Specifies the application pool from which request information is retrieved.

Type: String
Parameter Sets: (All)
Aliases: pool

Required: False
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
Parameter Sets: (All)
Aliases: 

Required: False
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
Parameter Sets: (All)
Aliases: proc, procid, pid, wp

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

Invoke-WebRequest

© 2017 Microsoft