Configure remedial actions - End Process
Configure the End Process remedial action for Microsoft Endpoint Configuration Manager for Investigation (MECM).
Before you begin
Role required: sn_cimaf.sn_cimaf_admin
Procedure
Open the Microsoft Endpoint Configuration Manager.
Create a MECM script with the name
EndProcess.For more information, see Create a script in Microsoft Endpoint Configuration Manager.
Provide the following code in the script block.
Param( [Parameter(Mandatory=$True)] [string]$process_id ) Get-Process -Id $process_id | Stop-Process -Force -PassThruRetrieve and copy the script GUID.
Open the MECM Action Configuration [sn_mecm_action_config] table.
The MECM Action Configuration table displays the list of action configurations.
From the list of configurations, select and edit End Process.
In the Action input field, add the script GUID.
MECM End Process
- Click Save.
Parent Topic:Configuring CI metrics for Microsoft Endpoint Configuration Manager for Investigation