Start-WebItem

Starts an application pool or a site.

Syntax

Start-WebItem
     [-Passthru]
     [-Protocol <String>]
     [[-PSPath] <String[]>]
     [<CommonParameters>]

Description

Use Start-WebItem to start an application pool or a Web site.

Examples

-------------- EXAMPLE 1: Start a Web Site --------------

IIS:\>Start-WebItem 'IIS:\Sites\Default Web Site'

Starts the site named Default Web Site.

Optional Parameters

-PSPath

The path to the site or application pool to start.

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

Passes an object that represents the Web item to the pipeline

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

The protocol binding of the site to start.

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

Inputs

PSObject

Outputs

PSObject