Table of contents
TLS
TOC
Collapse the table of content
Expand the table of content

Start-Website

Last Updated: 4/3/2017

SYNOPSIS

Starts an IIS website.

SYNTAX

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

DESCRIPTION

The Start-Website cmdlet starts an existing site on the Internet Information Services (IIS) server.

EXAMPLES

Example 1: Start a website

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

This command starts the site named Default Web Site.

PARAMETERS

-Name

Specifies the name of the website that this cmdlet starts.

Type: String
Parameter Sets: (All)
Aliases: 

Required: False
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-Passthru

Passes an object that represents the website to the pipeline.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: 

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

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

Get-Website

New-Website

Remove-Website

Stop-Website

© 2017 Microsoft