Restart all IIS Services
Microsoft.Windows.InternetInformationServices.6.2.ServerRole.RestartInternetServices.Task (Task)
This task will stop and restart all Windows Internet Information Services Internet services.
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>