Get-WebHandler

Gets IIS request handlers.

Syntax

Get-WebHandler
   [[-Name] <String>]
   [[-PSPath] <String[]>]
   [-Location <String[]>]
   [<CommonParameters>]

Description

The Get-WebHandler cmdlet gets Internet Information Services (IIS) request handlers. If you specify the Name parameter, information is returned for the specified handler.

Examples

Example 1: Get the handler section

IIS:\> Get-WebHandler -PSPath "IIS:\Sites\Default Web Site"

This command gets handlers configured for the default website.

Optional Parameters

-Location

Specifies the location for which the cmdlet returns handler information.

Type:String[]
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-Name

Specifies the name of a handler to get.

Type:String
Position:0
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-PSPath

Specifies an IIS configuration path.

Type:String[]
Position:1
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False