Get-WebURL
Get-WebURL
Gets information about the URL associated with a website.
Sintaxis
Parameter Set: InputPSPath
Get-WebURL [[-PSPath] <String[]> ] [-Accept <String> ] [-Content] [-ResponseHeaders] [ <CommonParameters>]
Parameter Set: InputURL
Get-WebURL [[-Url] <Uri[]> ] [-Accept <String> ] [-Content] [-ResponseHeaders] [ <CommonParameters>]
Descripción detallada
The Get-WebURL cmdlet gets information about the URL associated with the specified website.
Parámetros
-Accept<String>
Specifies an HTTP Accept header.
Alias |
ninguno |
¿Requerido? |
false |
¿Posición? |
named |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
false |
-Content
The content returned by the request.
Alias |
ninguno |
¿Requerido? |
false |
¿Posición? |
named |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
false |
-PSPath<String[]>
Specifies an IIS configuration path to the site for which this cmdlet returns information.
Alias |
ninguno |
¿Requerido? |
false |
¿Posición? |
1 |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
true (ByValue, ByPropertyName) |
¿Aceptar caracteres comodín? |
false |
-ResponseHeaders
The HTTP Response headers.
Alias |
ninguno |
¿Requerido? |
false |
¿Posición? |
named |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
false |
-Url<Uri[]>
Specifies the URL for which information is retrieved.
Alias |
ninguno |
¿Requerido? |
false |
¿Posición? |
1 |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
true (ByValue, 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: Request the default website
This command returns data about the default website.
IIS:\>Get-WebURL -PSPath 'IIS:\Sites\Default Web Site'