powershellscripts.com

Tutorials  PowerShell Cmdlet Help for Stop-WebAppPool



NAME
Stop-WebAppPool

SYNOPSIS
Stops an application pool.

SYNTAX
Stop-WebAppPool [[-Name] ] [-Passthru] [-WarningAction ] [-WarningVariable ] [ mmonParameters>]


DESCRIPTION
Stops the specified application pool.


PARAMETERS
-Name
The name of the application pool to stop.

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

-Passthru
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


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

-WarningVariable


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


This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".

INPUTS



OUTPUTS



NOTES




-------------- EXAMPLE 1: Stopping an Application Pool --------------

C:\PS>Stop-WebAppPool -Name "DefaultAppPool"


Stops the application pool named "DefaultAppPool".






RELATED LINKS