Get-WebVirtualDirectory
Get-WebVirtualDirectory
Gets a list of the virtual directories on the specified site.
Sintaxis
Parameter Set: Default
Get-WebVirtualDirectory [[-Name] <String> ] [-Application <String> ] [-Site <String> ] [ <CommonParameters>]
Descripción detallada
The Get-WebVirtualDirectory cmdlet gets a list of the virtual directories on the specified site.
Parámetros
-Application<String>
Specifies the name of a web application associated with virtual directories to return.
Alias |
ninguno |
¿Requerido? |
false |
¿Posición? |
named |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
true (ByPropertyName) |
¿Aceptar caracteres comodín? |
false |
-Name<String>
Specifies the name of a virtual directory that this cmdlet returns.
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 a list of virtual directories.
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: Getting a virtual directory --------------
This command returns the list of virtual directories on the default website on which the application named TestApp is configured.
IIS:\>Get-WebVirtualDirectory -Site 'Default Web Site' -Application "TestApp"