Get-Website

Get-Website

Gets configuration information for an IIS website.

Sintaxis

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

Descripción detallada

The Get-Website cmdlet gets configuration information for an Internet Information Services (IIS) website.

Parámetros

-Name<String>

Specifies the name of the website about which this cmdlet returns configuration 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-------------- EXAMPLEExample 1: Get information about the Ddefault wWeb Ssite --------------dws

This command returns the configuration information for the default website.

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

Temas relacionados

New-Website

Remove-Website

Start-Website

Stop-Website