powershellscripts.com

Tutorials  PowerShell Cmdlet Help for Start-Website



NAME
Start-Website

SYNOPSIS
Starts an IIS Web site.

SYNTAX
Start-Website [[-Name] ] [-Passthru] [-WarningAction ] [-WarningVariable ] [ onParameters>]


DESCRIPTION
Starts an existing site on the IIS server.


PARAMETERS
-Name
The name of the site to start.

Required? false
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-Passthru
Passes an object representing the web site to the pipeline

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-WarningAction


Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-WarningVariable


Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false


This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".

INPUTS



OUTPUTS



NOTES




-------------- EXAMPLE 1: Starting a Web site --------------

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


Starts the site named "Default Web Site".






RELATED LINKS