powershellscripts.com

Tutorials  PowerShell Cmdlet Help for Start-WebAppPool



NAME
Start-WebAppPool

SYNOPSIS
Starts an application pool.

SYNTAX
Start-WebAppPool [[-Name] ] [-Passthru] [-WarningAction ] [-WarningVariable ] [ ommonParameters>]


DESCRIPTION
Starts the specified application pool.


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

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: Starting an Application Pool --------------

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


Starts the application pool named "DefaultAppPool".





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

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


Starts the application pools that are currently stopped.






RELATED LINKS