powershellscripts.com

Tutorials  PowerShell Cmdlet Help for Remove-WebHandler



NAME
Remove-WebHandler

SYNOPSIS
Removes and IIS Request Handler

SYNTAX
Remove-WebHandler [-Name] [-Location ] [[-PSPath] ] [-WarningAction
] [-WarningVariable ] [-WhatIf] [-Confirm] []


DESCRIPTION
Removes and IIS Request Handler.


PARAMETERS
-Name
The name of the handler to remove.

Required? true
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-Location
The configuration location from which the handler is removed.

Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-PSPath
An IIS configuration path.

Required? false
Position? 2
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-WarningAction


Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-WarningVariable


Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-WhatIf
Describes what would happen if you executed the command without actually executing the command.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-Confirm
Prompts you for confirmation before executing the command.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false


This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".

INPUTS



OUTPUTS



NOTES




-------------- EXAMPLE 1: Removing a handler --------------

C:\PS>Remove-WebHandler -Name testHandler -PSPath "IIS:\sites\Default Web Site"


Removes a handler from the Default Web Site.






RELATED LINKS