启动 Web 管理服务
Microsoft.Windows.InternetInformationServices.6.2.ServerRole.StartRemoteAdministrationService.Task (Task)
此任务将启动当前停止的 Web 管理服务。Web 管理服务为管理员启用远程和委托管理功能,以管理 Web 服务器、站点以及 Web 服务器上存在的应用程序。
Element properties:
Member Modules:
Source Code:
<Task ID="Microsoft.Windows.InternetInformationServices.6.2.ServerRole.StartRemoteAdministrationService.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.ControlService">
<Operation>start WMSvc</Operation>
<TimeoutSeconds>60</TimeoutSeconds>
</WriteAction>
</Task>