Linux scripts
Linux 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 Updated |
-i (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 |
-k License -i Public_License_ID -u Username -p Password -k EXAM-PLEL-ICEN-SEST-RING -i EXA-MPL-EID -u example@eset.com -p examplepassword |
Activation method options: •License Key •“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)
|
Configure |
-f /filePath/configFile (configuration file path) |
|
Deactivate |
|
|
Deploy w Activate |
-P Product {EEA(default)|EES} -L Language {enu|See the complete list}
-k License -i ublic_License_ID -u Username -p Password
Example: -P EEA -L enu -k EXAM-PLEL-ICEN-SEST-RING -P EES -L enu -i EXA-MPL-EID -u example@eset.com -p examplepassword |
Command execution without: •Activation arguments installs the product without activation •Any parameters installs ESET Endpoint Antivirus (EEA) in the default language (English) without activation |
On-demand Scan |
-t Target {file|folder}
Example: -t /home/user/ -p "@In-depth scan" -t /home/user/file.tmp -p "@Smart scan" |
|
Uninstall |
|
|
Upgrade |
|
|
List of available language arguments
Abbreviation |
Language |
---|---|
enu |
English (default) |
bgr |
Bulgarian |
csy |
Czech |
dan |
Danish |
deu |
German |
ell |
Greek |
esn |
Spanish—Spain |
esl |
Spanish—Chile |
eti |
Estonian |
fin |
Finnish |
fra |
French—France |
frc |
French—Canada |
hrv |
Croatian |
hun |
Hungarian |
ita |
Italian |
jpn |
Japanese |
kor |
Korean |
lth |
Lithuanian |
nor |
Norwegian |
nld |
Dutch |
plk |
Polish |
ptb |
Portuguese |
rom |
Romanian |
rus |
Russian |
sky |
Slovak |
slv |
Slovenian |
srl |
Serbian |
sve |
Swedish |
tha |
Thai |
trk |
Turkish |
ukr |
Ukrainian |
chs |
Chinese—China |
cht |
Chinese—Taiwan |
are |
Arabic |
kdi |
Kazakh |