Export (0) Print
Expand All
Expand Minimize

Get-WebRequest

Windows Server 2012 R2 and Windows 8.1

Get-WebRequest

Gets the IIS requests that are currently being run.

Syntax

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




Detailed Description

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

Parameters

-AppPool<String>

Specifies the application pool from which request information is retrieved.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByPropertyName)

Accept Wildcard Characters?

false

-InputObject<PSObject>

Specifies the input object from which parameter data is received.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

-Process<UInt32>

Specifies a process ID for which request information is retrieved.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByPropertyName)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (http://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

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

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

Example 1: Get requests that are currently being run

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


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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2015 Microsoft