Come and Check our BETA Alpha version of Powershellcenter.net
Send me your comment to Powershell@powershellcenter.com

Synopsis

Stops an application pool.

Syntax

Stop-WebAppPool [[-Name] <String>] [-Passthru] [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>]

Detailed Description

Stops the specified application pool.

Parameters

-Name [<String>]

The name of the application pool to stop.

Required?   false
Position?   1
Default value?  
Accept pipeline input?   true (ByPropertyName)
Accept wildcard characters?   false

-Passthru [<SwitchParameter>]

Passes an object representing the Application Pool to the pipeline

Required?   false
Position?   named
Default value?  
Accept pipeline input?   false
Accept wildcard characters?   false

-WarningAction [<ActionPreference>]

Required?   false
Position?   named
Default value?  
Accept pipeline input?   false
Accept wildcard characters?   false

-WarningVariable [<String>]

Required?   false
Position?   named
Default value?  
Accept pipeline input?   false
Accept wildcard characters?   false

Input Type

Return Type

Notes

Examples

EXAMPLE 1: Stopping an Application Pool

PS> Stop-WebAppPool -Name "DefaultAppPool"

Stops the application pool named "DefaultAppPool".