CmdID / PowerShell / Cmdlets / Get
Get-WebsiteState
Gets the state of an IIS website. Windows Server PowerShell reference
From the Windows Server PowerShell reference 1 parameter Its page in the reference
Parameters
-NameSpecifies the name of the website about which this cmdlet gets information.