Start-Website
Start-Website
Starts an IIS website.
Sintaxis
Parameter Set: Default
Start-Website [[-Name] <String> ] [-Passthru] [ <CommonParameters>]
Descripción detallada
The Start-Website cmdlet starts an existing site on the Internet Information Services (IIS) server.
Parámetros
-Name<String>
Specifies the name of the website that this cmdlet starts.
Alias |
ninguno |
¿Requerido? |
false |
¿Posición? |
1 |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
true (ByPropertyName) |
¿Aceptar caracteres comodín? |
false |
-Passthru
Passes an object that represents the website to the pipeline.
Alias |
ninguno |
¿Requerido? |
false |
¿Posición? |
named |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
false |
¿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-------------- EXAMPLEExample 1: Starting a wWeb site --------------w
This command starts the site named Default Web Site.
IIS:\>Start-WebSite -Name "Default Web Site"