Start Web Site

Microsoft.Windows.InternetInformationServices.2008.WebSite.StartWebSite.Task (Task)

This task will start the targeted Web Site.

Element properties:

TargetMicrosoft.Windows.InternetInformationServices.2008.WebSite
AccessibilityPublic
CategoryMaintenance
EnabledTrue
RemotableFalse
Timeout300

Member Modules:

ID Module Type TypeId RunAs 
WA WriteAction Microsoft.Windows.InternetInformationServices.2008.AppCmd.WriteAction Default

Source Code:

<Task ID="Microsoft.Windows.InternetInformationServices.2008.WebSite.StartWebSite.Task" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.InternetInformationServices.2008.WebSite" Timeout="300" Remotable="false">
<Category>Maintenance</Category>
<WriteAction ID="WA" TypeID="Microsoft.Windows.InternetInformationServices.2008.AppCmd.WriteAction">
<Operation>start site "$Target/Property[Type="System!System.Entity"]/DisplayName$"</Operation>
<TimeoutSeconds>60</TimeoutSeconds>
</WriteAction>
</Task>