PowerShell Logo Small

New-WebHandler



This is the built-in help made by Microsoft for the command 'New-WebHandler', in PowerShell version 3 - as retrieved from Windows version 'Microsoft Windows Server 2012 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Creates a new IIS request handler.

SYNTAX


New-WebHandler [-Name] <String> [[-PSPath] <String[]>] [-Force [<SwitchParameter>]] [-Location <String[]>] [-Modules <String>] [-Precondition
<String>] [-RequiredAccess <String>] [-ResourceType <String>] [-ScriptProcessor <String>] [-Type <String>] -Path <String> -Verb <String>
[<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


Creates a new IIS request handler.



<

RELATED LINKS


REMARKS

<

Examples


-------------- EXAMPLE 1: Add a new handler --------------

IIS:\>New-WebHandler -Name testHandler -Path *.test -Verb 'GET,POST' -Modules IsapiModule -PSPath "IIS:\sites\Default Web Site"



Adds a handler named "testHandler" to the Default Web Site.