Get-WebAppDomain
Get-WebAppDomain
Gets the application domains in which the specified IIS worker process is running.
Sintaxis
Parameter Set: InputObject
Get-WebAppDomain [-ApplicationPool <String> ] [-InputObject <PSObject> ] [-ProcessId <UInt32> ] [ <CommonParameters>]
Descripción detallada
The Get-WebAppDomain cmdlet gets the application domains in which the specified Internet Information Services (IIS) worker process is running.
Parámetros
-ApplicationPool<String>
Specifies the application pool for which application domains are returned.
Alias |
ninguno |
¿Requerido? |
false |
¿Posición? |
named |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
true (ByPropertyName) |
¿Aceptar caracteres comodín? |
false |
-InputObject<PSObject>
Specifies the input object from which parameter data is received.
Alias |
ninguno |
¿Requerido? |
false |
¿Posición? |
named |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
true (ByValue) |
¿Aceptar caracteres comodín? |
false |
-ProcessId<UInt32>
Specifies the ID of the worker process for which the application domain is returned.
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 1: Get the application domain of a running worker process
The first command gets the application domains loaded in the specified worker process. The second command gets the process ID from the WorkerProcesses node below the AppPools node.
IIS:\>Get-WebAppDomain -ProcessId 5872 -ApplicationPool "DefaultAppPool"
IIS:\> Get-ChildItem IIS:\AppPools\DefaultAppPool\WorkerProcesses