Start-WebAppPool
Starts an application pool.
PowerShell
Start-WebAppPool
[[-Name] <String>]
[-Passthru]
[<CommonParameters>]
The Start-WebAppPool cmdlet starts the specified application pool.
PowerShell
IIS:\> Start-WebAppPool -Name "DefaultAppPool"
This command starts the application pool named DefaultAppPool.
PowerShell
IIS:\> Get-ChildItem IIS:\AppPools | where {$_.state -ne "Started"} | Start-WebAppPool
This command starts the application pools that are currently stopped.
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 |
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 |