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

Start-IISSite

Last Updated: 3/30/2017

SYNOPSIS

Starts an existing site on the IIS server.

SYNTAX

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

DESCRIPTION

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

EXAMPLES

Example 1: Start an IIS web site

PS C:\> Start-IISSite -Name "Default Web Site"

This command starts an IIS web site named Default Web Site

PARAMETERS

-Name

Specifies the name of the IIS web site

Type: String
Parameter Sets: (All)
Aliases: 

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

-Passthru

Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.

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

String

OUTPUTS

Microsoft.Web.Administration.Site

NOTES

Get-IISSite

New-IISSite

Remove-IISSite

Stop-IISSite

IIS Administration Cmdlets for Windows PowerShell

© 2017 Microsoft