Start-IISSite

Start-IISSite

Starts an existing site on the IIS server.

構文

Parameter Set: Default
Start-IISSite [-Name] <String> [-InformationAction <ActionPreference> {SilentlyContinue | Stop | Continue | Inquire | Ignore | Suspend} ] [-InformationVariable <String> ] [-Passthru] [ <CommonParameters>]

詳細説明

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

パラメーター

-InformationAction<ActionPreference>

Specifies how this cmdlet responds to an information event. The acceptable values for this parameter are:

-- SilentlyContinue
-- Stop
-- Continue
-- Inquire
-- Ignore
-- Suspend

Aliases

infa

必須/オプション

false

位置

named

既定値

none

パイプライン入力の受け入れ

false

ワイルドカード文字の受け入れ

false

-InformationVariable<String>

Specifies a variable in which to store an information event message.

Aliases

iv

必須/オプション

false

位置

named

既定値

none

パイプライン入力の受け入れ

false

ワイルドカード文字の受け入れ

false

-Name<String>

Specifies the name of the IIS web site

Aliases

none

必須/オプション

true

位置

1

既定値

none

パイプライン入力の受け入れ

true(ByValue,ByPropertyName)

ワイルドカード文字の受け入れ

false

-Passthru

作業中の項目を表すオブジェクトを返します。既定では、このコマンドレットから出力は生成されません。

Aliases

none

必須/オプション

false

位置

named

既定値

none

パイプライン入力の受け入れ

false

ワイルドカード文字の受け入れ

false

<CommonParameters>

このコマンドレットは共通のパラメーターをサポートしています(-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、および -OutVariable)。詳細については、TechNet の「 「about_CommonParameters」 (https://go.microsoft.com/fwlink/p/?LinkID=113216) を参照してください。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

  • String

出力

出力型は、コマンドレットが出力するオブジェクトの型です。

  • Microsoft.Web.Administration.Site

使用例

Example 1: Start an IIS web site

This command starts an IIS web site named Default Web Site

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

関連項目

Get-IISSite

New-IISSite

Remove-IISSite

Stop-IISSite

IIS Administration Cmdlets