powershellscripts.com

Tutorials  PowerShell Cmdlet Help for Get-WebsiteState



NAME
Get-WebsiteState

SYNOPSIS
Gets the state of an IIS Web site

SYNTAX
Get-WebsiteState [[-Name] ] [-WarningAction ] [-WarningVariable ] [ ers>]


DESCRIPTION
Gets the state of an IIS Web site.


PARAMETERS
-Name
The name of the Web site to get information about.

Required? false
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-WarningAction


Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-WarningVariable


Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false


This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".

INPUTS



OUTPUTS



NOTES




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

C:\PS>Get-WebsiteState -Name "Default Web Site"


Returns the state of the Default Web Site.


Value
-----
Started



RELATED LINKS