Get-WebApplication
Get-WebApplication
Gets the web applications associated with a specific site or with a specified name.
Sintaxis
Parameter Set: Default
Get-WebApplication [[-Name] <String> ] [-Site <String> ] [ <CommonParameters>]
Descripción detallada
The Get-WebApplication cmdlet gets the web applications associated with a specific site or with a specified name.
Parámetros
-Name<String>
Specifies the name of the web application for which information is returned.
Alias |
ninguno |
¿Requerido? |
false |
¿Posición? |
1 |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
true (ByPropertyName) |
¿Aceptar caracteres comodín? |
false |
-Site<String>
Specifies the name of the site for which this cmdlet returns application information.
Alias |
ninguno |
¿Requerido? |
false |
¿Posición? |
named |
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 -------------- EXAMPLE Example 1: Gets the Web web applications associated with the Default default Web websSite --------------web default webs
This command gets the web applications associated with the default website.
IIS:\>Get-WebApplication -Site "Default Web Site"