Iniciar el servicio ATAGatewayUpdater
Microsoft.AdvancedThreatAnalytics.1_7.Gateway.ATAGatewayUpdater.Start (Task)
Esta acción inicia el servicio ATAGatewayUpdater
Element properties:
Member Modules:
Source Code:
<Task ID="Microsoft.AdvancedThreatAnalytics.1_7.Gateway.ATAGatewayUpdater.Start" Accessibility="Internal" Target="Microsoft.AdvancedThreatAnalytics.1_7.Gateway" Enabled="true" Timeout="300" Remotable="true">
<Category>Maintenance</Category>
<ProbeAction ID="Probe" TypeID="Windows!Microsoft.Windows.PowerShellProbe">
<ScriptName>ATAServiceAgentTask.ps1</ScriptName>
<ScriptBody><Script>Param(
[string]$ServiceName,
[string]$ServiceAction
)
if($ServiceAction -eq "Start"){Start-Service $ServiceName}
if($ServiceAction -eq "Stop"){Stop-Service $ServiceName}
if($ServiceAction -eq "Restart"){Retart-Service $ServiceName}</Script></ScriptBody>
<SnapIns/>
<Parameters>
<Parameter>
<Name>ServiceName</Name>
<Value>ATAGatewayUpdater</Value>
</Parameter>
<Parameter>
<Name>ServiceAction</Name>
<Value>Start</Value>
</Parameter>
</Parameters>
<TimeoutSeconds>300</TimeoutSeconds>
<StrictErrorHandling>true</StrictErrorHandling>
</ProbeAction>
</Task>