Перезапустить все службы IIS

Microsoft.Windows.InternetInformationServices.2008.ServerRole.RestartInternetServices.Task (Task)

Эта задача останавливает и перезапускает все веб-службы IIS Windows.

Element properties:

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

Member Modules:

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

Source Code:

<Task ID="Microsoft.Windows.InternetInformationServices.2008.ServerRole.RestartInternetServices.Task" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.InternetInformationServices.2008.ServerRole" Timeout="300" Remotable="false">
<Category>Maintenance</Category>
<WriteAction ID="WA" TypeID="Microsoft.Windows.InternetInformationServices.2008.IISReset">
<Operation>/RESTART</Operation>
<TimeoutSeconds>60</TimeoutSeconds>
</WriteAction>
</Task>