Iniciar servidor DHCP

Microsoft.Windows.DHCPServer.Library.Tasks.StartDHCP (Task)

Esta tarea iniciarĂ¡ el servicio DHCP

Element properties:

TargetMicrosoft.Windows.DHCPServer.Library.Server
AccessibilityPublic
CategoryMaintenance
EnabledTrue
RemotableFalse
Timeout300

Member Modules:

ID Module Type TypeId RunAs 
WA WriteAction System.CommandExecuter Default

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>