PowerShell Logo Small

Stop-Website



This is the built-in help made by Microsoft for the command 'Stop-Website', in PowerShell version 3 - as retrieved from Windows version 'Microsoft Windows Server 2012 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

Stops an IIS Web site.

SYNTAX


Stop-Website [[-Name] <String>] [-Passthru [<SwitchParameter>]] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


Stops the specified Web site.



<

RELATED LINKS

Start-WebAppPool
Start-WebItem
Start-Website
Stop-WebAppPool
Stop-WebItem

REMARKS

<

Examples


-------------- EXAMPLE 1: Stopping a Web Site --------------

IIS:\>Stop-WebSite -Name "Default Web Site"



Stops the site named Default Web Site.