Windows AMP scripts syntax

Checks

Check

Parameter

Note

Product Activated

 

Fails if the product is not activated.

Suggested action: Activate

Product Installed

 

Fails if the product is not installed.

Suggested action: Deploy w Activate

Protection Status

 

Reports status.

Flags if the status is not “Fully Protected”.

Scans

 

Reports if new scans have been performed since last checked.

Threats

 

Flags if new threats have been detected.

Suggested action: Perform In-Depth scan

Was Configured

age (in following format: n[m|h|d] as in 4d for 4 days, or 2h for 2 hours…)

Flags If the last configuration change is older than age.

Was Updated

age (in following format: n[m|h|d] as in 4d for 4 days, or 2h for 2 hours…)

Flags If the last update is older than age.

Tasks

Task

Parameter

Note

Activate

License in the form of a license key (“XXXX-XXXX-XXXX-XXXX-XXXX”) or ESET MSP Administrator Credentials and Public License ID (“username password PLI-DPLIDP”)

 

Configure

Configuration file path.

 

Deactivate

Product {EEA|EES|EFSW|EMSX}

License in the form of a license key (“XXXX-XXXX-XXXX-XXXX-XXXX”) or ESET MSP Administrator Credentials and Public License ID (“username password PLI-DPL-IDP”)

 

Deploy w Activate

 

 

Repair

Product {EEA|EES|EFSW|EMSX}

License in the form of a license key (“XXXX-XXXX-XXXX-XXXX-XXXX”) or ESET MSP Administrator Credentials and Public License ID (“username password PLI-DPL-IDP”)

This task reruns the following checks and acts on the issues as necessary:

If the product is not installed, Repair attempts installation

If the product is not activated, Repair attempts activation

If new threats were detected, Repair starts an in-depth scan

In all cases, Repair performs a signature update

On-demand Scan

Targets: “|” (pipe) separated list of Files, Folders or Macros, examples:

“c:\users\john\file.tmp”
“c:\users\john”
“${DriveAll}|${Memory}”

 

Profile: scan profile, examples:

“@Smart profile”
“@In-depth profile”

 

Uninstall

Uninstall Password (if set)

 

Update Module

 

 

Upgrade

Product {EEA|EES|EFSW|EMSX}