Mac scripts
Mac Bash file scripts syntax
Checks
Check |
Parameter |
Note |
---|---|---|
Product Activated |
|
Fails if the product is not activated. |
Product Installed |
|
Fails if the product is not installed. |
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. |
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 was performed earlier than age parameter. |
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 was performed earlier than age. |
Tasks
Task |
Parameter |
Note |
---|---|---|
Activate |
activation “XXXX-XXXX-XXXX-XXXX-XXXX|user password public_key” (use license key, ESET MSP Administrator 2, ESET Business Account or ESET PROTECT Hub username, password, and public key) --activation “ABCD-EFGH-IJKL-1234-5678” |
|
Configure |
--file filePath.config (configuration file path) --file “config000.xml” |
|
Deactivate |
|
|
Deploy w Activate |
--accept_eula (mandatory) --accept_eula --product EEA --activation “ABCD-EFGH-IJKL-1234-5678” |
|
Repair |
--accept_eula (mandatory) --accept_eula --product EEA --activation “ABCD-EFGH-IJKL-1234-5678” |
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 {file|folder} --targets “/” --profile “@Smart scan” |
|
Uninstall |
|
|
Update Module |
|
|
Upgrade |
--accept_eula (mandatory) --accept_eula --product EES --activation “ABCD-EFGH-IJKL-1234-5678” |
|