Stoppa DHCP Server
Microsoft.Windows.DHCPServer.Library.Tasks.StopDHCP (Task)
Den här uppgiften stoppar DHCP-tjänsten
Element properties:
Member Modules:
Source Code:
<Task ID="Microsoft.Windows.DHCPServer.Library.Tasks.StopDHCP" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.DHCPServer.Library.Server" Timeout="300" Remotable="false">
<Category>Maintenance</Category>
<WriteAction ID="WA" TypeID="System!System.CommandExecuter">
<ApplicationName/>
<WorkingDirectory/>
<CommandLine>net stop "DHCPServer" /y</CommandLine>
<TimeoutSeconds>120</TimeoutSeconds>
<RequireOutput>true</RequireOutput>
<Files/>
</WriteAction>
</Task>