Get-WebRequest
Gets the IIS requests that are currently being run.
Syntax
Default (Default)
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.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Aliases: | pool |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
-InputObject
Specifies the input object from which parameter data is received.
Parameter properties
Type: | PSObject |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | True |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Process
Specifies a process ID for which request information is retrieved.
Parameter properties
Type: | UInt32 |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Aliases: | proc, procid, pid, wp |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.