Get-WebsiteState

Get-WebsiteState

Gets the state of an IIS website.

Sintaxis

Parameter Set: Default
Get-WebsiteState [[-Name] <String> ] [ <CommonParameters>]

Descripción detallada

The Get-WebsiteState cmdlet gets the state of an Internet Information Services (IIS) website.

Parámetros

-Name<String>

Specifies the name of the website about which this cmdlet gets information.

Alias

ninguno

¿Requerido?

false

¿Posición?

1

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 state of a website

This command returns the state of the default website.

IIS:\>Get-WebsiteState -Name "Default Web Site"