Start all IIS Services

Microsoft.Windows.InternetInformationServices.10.0.ServerRole.StartInternetServices.Task (Task)

This task will start all Windows Internet Information Services Internet services

Element properties:

TargetMicrosoft.Windows.InternetInformationServices.10.0.ServerRole
AccessibilityPublic
CategoryMaintenance
EnabledTrue
RemotableFalse
Timeout300

Member Modules:

ID Module Type TypeId RunAs 
WA WriteAction System.CommandExecuter Default

Source Code:

<Task ID="Microsoft.Windows.InternetInformationServices.10.0.ServerRole.StartInternetServices.Task" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.InternetInformationServices.10.0.ServerRole" Timeout="300" Remotable="false">
<Category>Maintenance</Category>
<WriteAction ID="WA" TypeID="System!System.CommandExecuter">
<ApplicationName/>
<WorkingDirectory/>
<CommandLine>echo Starting IISADMIN.. &amp; net start IISADMIN &amp; echo. &amp; echo Starting WAS.. &amp; net start WAS &amp; echo. &amp; echo Starting W3SVC.. &amp; net start W3SVC</CommandLine>
<TimeoutSeconds>60</TimeoutSeconds>
<RequireOutput>true</RequireOutput>
<Files/>
</WriteAction>
</Task>