Start-WebAppPool
Starts an application pool.
Syntax
Start-WebAppPool
[[-Name] <String>]
[-Passthru]
[<CommonParameters>]
Description
The Start-WebAppPool cmdlet starts the specified application pool.
Examples
Example 1: Start an application pool
IIS:\> Start-WebAppPool -Name "DefaultAppPool"
This command starts the application pool named DefaultAppPool.
Example 2: Start stopped application pools
IIS:\> Get-ChildItem IIS:\AppPools | where {$_.state -ne "Started"} | Start-WebAppPool
This command starts the application pools that are currently stopped.
Parameters
-Name
Specifies the name of the application pool to start.
Type: | String |
Position: | 0 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Passthru
Passes an object that represents the application pool to the pipeline.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Related Links
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour