powershellscripts.com

Tutorials  PowerShell Cmdlet Help for Restart-WebAppPool



NAME
Restart-WebAppPool

SYNOPSIS
Recycles an application pool.

SYNTAX
Restart-WebAppPool [[-Name] ] [-WarningAction ] [-WarningVariable ] [ eters>]


DESCRIPTION
Causes the specified application pool to be recycled.


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

Required? false
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
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: Recycling an Application Pool --------------

C:\PS>Restart-WebAppPool DefaultAppPool


Recycles the application pool named "DefaultAppPool".






RELATED LINKS