Parar o Serviço de Gerenciamento da Web

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

Esta tarefa para o Serviço de Gerenciamento da Web se ele tiver sido iniciado. O Serviço de Gerenciamento da Web habilita funcionalidades de gerenciamento remoto e delegado para os administradores gerenciarem o servidor Web, os sites e os aplicativos presentes no servidor Web. Observe que não há suporte para esta tarefa no Nano.

Element properties:

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

Member Modules:

ID Module Type TypeId RunAs 
WA WriteAction Microsoft.Windows.InternetInformationServices.10.0.ControlService Default

Source Code:

<Task ID="Microsoft.Windows.InternetInformationServices.10.0.ServerRole.StopRemoteAdministrationService.Task" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.InternetInformationServices.10.0.WMService" Timeout="300" Remotable="false">
<Category>Maintenance</Category>
<WriteAction ID="WA" TypeID="Microsoft.Windows.InternetInformationServices.10.0.ControlService">
<Operation>stop WMSvc /Y</Operation>
<TimeoutSeconds>60</TimeoutSeconds>
</WriteAction>
</Task>