Stop AppSense PM Agent

AppSense.PM.10.Agent.StopService.Task (Task)

Agent task to stop the AppSense PM Agent Service

Knowledge Base article:

Summary

Stop AppSense PM Agent

Agent task to stop the AppSense PM Agent Service

Causes

Resolutions

Element properties:

TargetAppSense.PM.10.Agent
AccessibilityPublic
CategoryMaintenance
EnabledTrue
RemotableFalse
Timeout301

Member Modules:

ID Module Type TypeId RunAs 
PA WriteAction System.CommandExecuter Default

Source Code:

<Task ID="AppSense.PM.10.Agent.StopService.Task" Accessibility="Public" Enabled="true" Target="AppSense.PM.10.Agent" Timeout="301" Remotable="true">
<Category>Maintenance</Category>
<WriteAction ID="PA" TypeID="System!System.CommandExecuter">
<ApplicationName>c:\windows\system32\net.exe</ApplicationName>
<WorkingDirectory/>
<CommandLine>STOP "AppSense Performance Manager Agent"</CommandLine>
<TimeoutSeconds>301</TimeoutSeconds>
<RequireOutput>true</RequireOutput>
</WriteAction>
</Task>