This is the built-in help made by Microsoft for the command 'Stop-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.
Stops an application pool or a site.
Stop-WebItem [[-PSPath] <String[]>] [-Passthru] [-Protocol <String>] [<CommonParameters>]
TheStop-WebItemcmdlet is used to stop a Site or an application pool.
<
Online Version: http://go.microsoft.com/fwlink/p/?linkid=287912
Get-WebItemState
Restart-WebItem
Start-WebItem
<
-------------- EXAMPLE 1: Stop a Web site --------------
IIS:\>Stop-WebItem 'IIS:\Sites\Default Web Site'
Stops the site named Default Web Site. No output is returned.
-------------- EXAMPLE 2: Stopping a Web site with feedback --------------
IIS:\>Stop-WebItem 'IIS:\Sites\Default Web Site' -Passthru
Stops the site named Default Web Site and reports whether the site was stopped.
Name ID State Physical Path Bindings
---- -- ----- ------------- --------
Default Web Site 1 Stopped C:\inetpub\wwwroot\Default Web http *:80:
Site