Get-WebFilePath

Get-WebFilePath

Gets the physical path to the location of the specified IIS module.

Sintaxis

Parameter Set: Default
Get-WebFilePath [[-PSPath] <String[]> ] [ <CommonParameters>]

Descripción detallada

The Get-WebFilePath cmdlet gets the physical path to the location of the specified Internet Information Services (IIS) module.

Parámetros

-PSPath<String[]>

Specifies an IIS configuration path.

Alias

ninguno

¿Requerido?

false

¿Posición?

2

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 physical path of the default website

This command retrieves the physical path for the default website.

IIS:\>Get-WebFilePath -PSPath 'IIS:\Sites\Default Web Site'