Get-WebHandler

Gets IIS request handlers.

Syntax

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

Description

Gets IIS request handlers. If the Name parameter is used, information is returned for the specified handler.

Examples

-------------- EXAMPLE 1: Get the handler section --------------

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

Gets handlers configured for the Default Web Site.

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

The name of a handler to get.

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

An IIS configuration path.

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