Start-WebAppPool

Starts an application pool.

Syntax

Start-WebAppPool
     [[-Name] <String>]
     [-Passthru]
     [<CommonParameters>]

Description

Starts the specified application pool.

Examples

-------------- EXAMPLE 1: Starting an Application Pool --------------

IIS:\>Start-WebAppPool -Name "DefaultAppPool"

Starts the application pool named DefaultAppPool.

-------------- EXAMPLE 2: Starting stopped Application Pools --------------

IIS:\>Get-ChildItem IIS:\AppPools | where {$_.state -eq "Started"} | Start-WebAppPool

Starts the application pools that are currently stopped.

Optional Parameters

-Name

The name of the application pool to start.

Type:String
Position:0
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-Passthru

Passes an object that represents the application pool to the pipeline.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False