Start-IISSite
Starts an existing site on the IIS server.
Syntax
Default (Default)
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
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | 1 |
| Mandatory: | True |
| Value from pipeline: | True |
| Value from pipeline by property name: | True |
| Value from remaining arguments: | False |
-Passthru
Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.
Parameter properties
| Type: | SwitchParameter |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.