Start-WebItem
Starts an application pool or a website.
Syntax
Start-WebItem
[-Passthru]
[-Protocol <String>]
[[-PSPath] <String[]>]
[<CommonParameters>]
Description
The Start-WebItem cmdlet starts an application pool or a website.
Examples
Example 1: Start a website
IIS:\> Start-WebItem -PSPath "IIS:\Sites\Default Web Site"
This command starts the site named Default Web Site.
Parameters
-Passthru
Passes an object that represents the web item to the pipeline.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Protocol
Specifies the protocol binding of the site to start.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-PSPath
Specifies the path to the site or application pool to start.
Type: | String[] |
Position: | 1 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Inputs
PSObject
Outputs
PSObject
Related Links
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour