Start-IISSite
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 |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
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 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
Outputs
Related Links
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈