Iniciar Servidor DHCP
Microsoft.Windows.DHCPServer.Library.Tasks.StartDHCP (Task)
Esta tarefa vai iniciar o serviço DHCP
Element properties:
Member Modules:
Source Code:
<Task ID="Microsoft.Windows.DHCPServer.Library.Tasks.StartDHCP" 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 start "DHCPServer" /y</CommandLine>
<TimeoutSeconds>120</TimeoutSeconds>
<RequireOutput>true</RequireOutput>
<Files/>
</WriteAction>
</Task>