Detener todos los servicios IIS
Microsoft.Windows.InternetInformationServices.10.0.ServerRole.StopInternetServices.Task (Task)
Esta tarea parará todos los servicios de Internet de Windows Servicios de Internet Information Server Internet.
Element properties:
Member Modules:
Source Code:
<Task ID="Microsoft.Windows.InternetInformationServices.10.0.ServerRole.StopInternetServices.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>net stop IISADMIN /y & net stop W3SVC & net stop WAS /y</CommandLine>
<TimeoutSeconds>60</TimeoutSeconds>
<RequireOutput>true</RequireOutput>
<Files/>
</WriteAction>
</Task>