Reiniciar todos os Serviços do IIS
Microsoft.Windows.InternetInformationServices.6.2.ServerRole.RestartInternetServices.Task (Task)
Esta tarefa irá parar e reiniciar todos os serviços de Internet dos Serviços de Informação Internet do Windows.
Element properties:
Member Modules:
Source Code:
<Task ID="Microsoft.Windows.InternetInformationServices.6.2.ServerRole.RestartInternetServices.Task" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.InternetInformationServices.6.2.ServerRole" Timeout="300" Remotable="false">
<Category>Maintenance</Category>
<WriteAction ID="WA" TypeID="Microsoft.Windows.InternetInformationServices.6.2.IISReset">
<Operation>/RESTART</Operation>
<TimeoutSeconds>60</TimeoutSeconds>
</WriteAction>
</Task>