停止 Web 管理服务
Microsoft.Windows.InternetInformationServices.6.2.ServerRole.StopRemoteAdministrationService.Task (Task)
此任务将停止当前启动的 Web 管理服务。Web 管理服务为管理员启用远程和委托管理功能,以管理 Web 服务器、站点以及 Web 服务器上存在的应用程序。
Element properties:
Member Modules:
Source Code:
<Task ID="Microsoft.Windows.InternetInformationServices.6.2.ServerRole.StopRemoteAdministrationService.Task" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.InternetInformationServices.6.2.WMService" Timeout="300" Remotable="false">
<Category>Maintenance</Category>
<WriteAction ID="WA" TypeID="Microsoft.Windows.InternetInformationServices.6.2.ControlService">
<Operation>stop WMSvc /Y</Operation>
<TimeoutSeconds>60</TimeoutSeconds>
</WriteAction>
</Task>