Start-Website

Starts an IIS Web site.

Syntax

Start-Website
     [[-Name] <String>]
     [-Passthru]
     [<CommonParameters>]

Description

Starts an existing site on the IIS server.

Examples

-------------- EXAMPLE 1: Starting a Web site --------------

IIS:\>Start-WebSite -Name "Default Web Site"

Starts the site named "Default Web Site".

Optional Parameters

-Name

The name of the site to start.

Type:String
Position:0
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-Passthru

Passes an object that represents the Web site to the pipeline.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False