PowerShell Logo Small

Get-WebsiteState



This is the built-in help made by Microsoft for the command 'Get-WebsiteState', 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

Gets the state of an IIS Web site.

SYNTAX


Get-WebsiteState [[-Name] <String>] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


Gets the state of an IIS Web site.



<

RELATED LINKS


Online Version: http://go.microsoft.com/fwlink/p/?linkid=287869

REMARKS

<

Examples


-------------- EXAMPLE 1: Get the state of a Web site --------------

IIS:\>Get-WebsiteState -Name "Default Web Site"



Returns the state of the Default Web Site.

Value

-----

Started