Get-WebHandler
Get-WebHandler
Gets IIS request handlers.
Sintaxis
Parameter Set: Default
Get-WebHandler [[-Name] <String> ] [[-PSPath] <String[]> ] [-Location <String[]> ] [ <CommonParameters>]
Descripción detallada
The Get-WebHandler cmdlet gets Internet Information Services (IIS) request handlers. If you specify the Name parameter, information is returned for the specified handler.
Parámetros
-Location<String[]>
Specifies the location for which the cmdlet returns handler information.
Alias |
ninguno |
¿Requerido? |
false |
¿Posición? |
named |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
true (ByPropertyName) |
¿Aceptar caracteres comodín? |
false |
-Name<String>
Specifies the name of a handler to get.
Alias |
ninguno |
¿Requerido? |
false |
¿Posición? |
1 |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
true (ByPropertyName) |
¿Aceptar caracteres comodín? |
false |
-PSPath<String[]>
Specifies an IIS configuration path.
Alias |
ninguno |
¿Requerido? |
false |
¿Posición? |
2 |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
true (ByPropertyName) |
¿Aceptar caracteres comodín? |
false |
<CommonParameters>
Este cmdlet admite los siguientes parámetros comunes: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer y -OutVariable. Para obtener más información, consulte about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Entradas
El tipo de entrada es el tipo de los objetos que se pueden canalizar al cmdlet.
Salidas
El tipo de resultado es el tipo de objetos que emite el cmdlet.
Ejemplos
Example 1: Get the handler section
This command gets handlers configured for the default website.
IIS:\>Get-WebHandler -PSPath 'IIS:\Sites\Default Web Site'