Get-WebsiteState
Gets the state of an IIS website.
Syntax
Get-WebsiteState
[[-Name] <String>]
[<CommonParameters>]
Description
The Get-WebsiteState cmdlet gets the state of an Internet Information Services (IIS) website.
Examples
Example 1: Get the state of a website
IIS:\> Get-WebsiteState -Name "Default Web Site"
Value
-----
Started
This command returns the state of the default website.
Parameters
-Name
Specifies the name of the website about which this cmdlet gets information.
Type: | String |
Position: | 0 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour