powershellscripts.com

Tutorials  PowerShell Cmdlet Help for Start-WebItem



NAME
Start-WebItem

SYNOPSIS
Starts an application pool or a site.

SYNTAX
Start-WebItem [-Passthru] [-Protocol ] [[-PSPath] ] [-WarningAction ] [-Warning
Variable ] []


DESCRIPTION
Use Start-WebItem to start an application pool or a Web site.


PARAMETERS
-Passthru
Passes an object representing the web item to the pipeline

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

-Protocol
The protocol to start.

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

-PSPath
The path to the site or application pool to start.

Required? false
Position? 2
Default value
Accept pipeline input? true (ByPropertyName)
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
PSObject


OUTPUTS
PSObject


NOTES




-------------- EXAMPLE 1: Starting a Web Site --------------

C:\PS>Start-WebItem 'IIS:\Sites\Default Web Site'


Starts the site named "Default Web Site".






RELATED LINKS
Stop-WebItem
Restart-WebItem
Get-WebItemState