Get-IISAppPool
Mis à jour: juillet 2015
Get-IISAppPool
Gets configuration information for an IIS Application Pool.
Syntaxe
Parameter Set: Default
Get-IISAppPool [[-Name] <String[]> ] [-InformationAction <ActionPreference> {SilentlyContinue | Stop | Continue | Inquire | Ignore | Suspend} ] [-InformationVariable <String> ] [ <CommonParameters>]
Description détaillée
The Get-IISAppPool cmdlet gets information about application pools and their current status and other key information. If a specific application pool or a comma delimited list of application pools are requested, only those whose names are passed as an argument are returned. Otherwise all the application pools are returned.
Paramètres
-InformationAction<ActionPreference>
Specifies how this cmdlet responds to an information event. The acceptable values for this parameter are:
-- SilentlyContinue
-- Stop
-- Continue
-- Inquire
-- Ignore
-- Suspend
Alias |
infa |
Requis ? |
false |
Position ? |
named |
Valeur par défaut |
none |
Accepter l'entrée de pipeline ? |
false |
Accepter les caractères génériques ? |
false |
-InformationVariable<String>
Specifies a variable in which to store an information event message.
Alias |
iv |
Requis ? |
false |
Position ? |
named |
Valeur par défaut |
none |
Accepter l'entrée de pipeline ? |
false |
Accepter les caractères génériques ? |
false |
-Name<String[]>
Specifies the name of the application pool(s) in which the configuration information is returned.
Alias |
none |
Requis ? |
false |
Position ? |
1 |
Valeur par défaut |
none |
Accepter l'entrée de pipeline ? |
true(ByValue,ByPropertyName) |
Accepter les caractères génériques ? |
false |
<CommonParameters>
Cette applet de commande prend en charge les paramètres courants : -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer et -OutVariable. Pour plus d'informations, consultez . about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Entrées
Le type d'entrée correspond au type des objets que vous pouvez adresser à l'applet de commande.
- string, string[]
Sorties
Le type de sortie correspond au type des objets que l'applet de commande émet.
- Microsoft.Web.Administration.ApplicationPool, Microsoft.Web.Administration.ApplicationPool[]
Exemples
Example 1: Get information about specific app pool(s)
This command gets the configuration information for the DefaultAppPool.
PS C:\> Get-IISAppPool "DefaultAppPool","NewAppPool"
Example 2: Get information about all application pools
This command gets the configuration information for all application pools.
PS C:\> Get-IISAppPool