Come and Check our BETA Alpha version of Powershellcenter.net
Send me your comment to Powershell@powershellcenter.com

Synopsis

Starts an IIS Web site.

Syntax

Start-Website [[-Name] <String>] [-Passthru] [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>]

Detailed Description

Starts an existing site on the IIS server.

Parameters

-Name [<String>]

The name of the site to start.

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

-Passthru [<SwitchParameter>]

Passes an object representing the web site to the pipeline

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

-WarningAction [<ActionPreference>]

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

-WarningVariable [<String>]

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

Input Type

Return Type

Notes

Examples

EXAMPLE 1: Starting a Web site

PS> Start-WebSite -Name "Default Web Site"

Starts the site named "Default Web Site".