PowerShell Logo Small

Restart-WebItem



This is the built-in help made by Microsoft for the command 'Restart-WebItem', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Restarts an application pool or a Web site.

SYNTAX


Restart-WebItem [[-PSPath] <String[]>] [-Protocol <String>] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


Use theRestart-WebItemcmdlets to recycle an application pool or a Web site.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/p/?linkid=287895
Get-WebItemState
Start-WebItem
Stop-WebItem

REMARKS

<

Examples


-------------- EXAMPLE 1: Recycle an Application Pool --------------

IIS:\>Restart-WebItem 'IIS:\AppPools\DefaultAppPool'



Restarts the application pool named DefaultAppPool.