DNS 서비스 시작
Microsoft.Windows.Server.DNS.Task.StartService (Task)
DNS 서비스를 시작합니다.
Element properties:
Member Modules:
Source Code:
<Task ID="Microsoft.Windows.Server.DNS.Task.StartService" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.Server.DNS.Server" Timeout="300" Remotable="true">
<Category>Custom</Category>
<WriteAction ID="WA" RunAs="Microsoft.Windows.Server.DNS.ActionAccount" TypeID="System!System.CommandExecuter">
<ApplicationName>%windir%\system32\net.exe</ApplicationName>
<WorkingDirectory/>
<CommandLine>start dns</CommandLine>
<TimeoutSeconds>30</TimeoutSeconds>
<RequireOutput>true</RequireOutput>
</WriteAction>
</Task>