Commands

COMMAND

DESCRIPTION

SYNTAX

PARAMETERS

EXAMPLE

clearinfo

Clears specified information from a client. It is possible to clear Last Threat Alert, Last Firewall Alert, Last Event Warning, Last Scan and Custom Info.

clearinfo <data type> <clients>

data type Comma-separated list of types of information to be cleared. Possible values: threat,firewall,event,scan,custom

clients Comma-separated list of client IDs (or * for all clients). Type 'show client *' to see the list of clients.

clearinfo firewall *

client comment

Sets client comment.

client comment <client ID> <comment>

client ID ID of the client for which the comment will be set. To see the information of existing clients including client ID type 'show client *'

comment Comment for the client.

client comment 1 Problematic

client delete

Deletes clients from the server.

client delete <client ID> [<nowait>]

client ID Comma-separated list of IDs of clients to be deleted.

nowait Do not wait for the result of processing the request on the server. Possible value: nowait

client delete 1,5,9 nowait

client new

Sets or resets the 'new' flag for a client on the server.

client new <client ID> <action>

client ID Comma-separated list of IDs of the clients on which to set or reset the 'new' flag.

action Whether to set or reset the 'new' flag. Possible values: set, reset

client new 1 reset

client rename

Renames a client on the server.

client rename <client ID> <name>

client ID ID of the client to rename.

name New name for the client.

client rename 1 new_client_name

client roaming

Sets or resets the 'roaming user' flag for a client on the server.

client roaming <client ID> <action>

client ID Comma-separated list of IDs of the clients to set or reset the 'roaming user' flag.

action Whether to set or reset the 'roaming user' flag. Possible values: set, reset

client roaming 1 set

cls

Clears the console output.

cls


cls

echo

Displays an argument as a message. If the argument is missing, only a new line is added to the output.

echo [<message>]

message Message to display. Could contain multiple values which are concatenated.

echo "hello world"

echo "Report created with ID:  ",@reportId.csv@

 echo

encrypt

Encrypts a password for using in configuration. Two types of encryption are used: 'server' which is used for passwords defined by the era server (replication, client, installer, users), and 'other' which is used for passwords defined by other services (smtp, update, ...). As a result, this command shows the encrypted password, which can be used for creating configuration files. If a password is not specified, the user will be prompted to enter passwords - characters in the password field will be displayed as asterisks.

encrypt <encryptionType> [<password>]

encryptionType Type of encryption.    Possible values: server, other, hash, int64

password Password to encrypt.

encrypt server MyReplicationPassword6578

encrypt other MySmnpPwdBfx5

encrypt hash MyLockPass2

encrypt int64 580076500

errmsg

Shows error message for an error code.

errmsg <code>

code Error code to look up an error message for.

errmsg 2001

exit

Terminates the command line console if used from shell mode. Stops the current script file execution if used in a script file.

exit



getdata

Gets the specified set of information from a particular client or about a particular policy for a local file. Some information might be unavailable on the server, to refresh that information use the REQUEST command.

 
Configuration, Protection Features, Protection Status and System Information is refreshed automatically for clients on primary server.

getdata <data type> <data ID> <file>

data type Type of data to get.            Possible values: Client: sysinspector (SysInspector Log), configuration (Configuration XML), protection_status (Protection Status), protection_features (Protection Features), system_information (System Information); Policy: policy (Policy XML, only for policies not replicated from upper server), policy_merged (Merged Policy XML, created as a result of inheritance by applying settings from upper policy), policy_override (Policy Override Part XML, only for policies replicated from upper server), policy_nonoverride (Policy Non-Override Part XML)

data ID ID of the data entity (client or policy) to download data from.

file Destination local file path.

getdata configuration 1 c:\file.xml

group

Shows defined groups and group information.

group [<tree>]

tree Use tree mode to show the groups with the group inheritance.

group

group assign

Assigns one or more clients to a static group.

group assign <group ID> <clients>

group ID ID of a group to assign clients to.

clients Comma-separated IDs of clients to be assigned to the specified group. Or use * for all clients. Type 'show client *' to see the list of clients and their details including their IDs.

group assign 1 3,4

group create

Creates a static or parametric group.

group create <type> <name> [description <description>] [parentID <parent ID>] [paramsXML <params XML>] [sticky <sticky>]

type Type of the new group (possible values: static, parametric)

name, description, parent ID, params XML, sticky - for help type help group create in the eracmd.exe

group create static new_group

group delete

Deletes an existing static or parametric group with all it's subgroups.

group delete <group ID>

group ID ID of a group to be deleted. Type 'group' to see the existing groups and their IDs.

group delete 2

group export

Exports static or parametric groups to a local XML file.

group export <type> <group ID> <filename> [<tree>]

type Type of groups to export. Possible values: static, parametric

group ID ID of the group or ID of the root group of the subtree to export. If * is used and tree is TRUE, the whole group tree will be exported.

filename Path to the .xml file to import groups from.

tree By default the whole subtree (with the group as root) is exported. Use 'false' value to not export the subtree.

group export static * gr_static.xml

group export parametric 2 gr_parametric.xml false

group import

Imports static or parametric groups from a local XML file. If a group with the same path already exists, it will be changed (for example, specified client relations will be added to the existing group).

group import <type> <parent ID> <filename> [<relations>]

type Type of groups to import. Possible values: static, parametric

parent ID ID of the parent group. The groups will be imported under this group in the group tree. If * is used, the subtree will be imported under the groups tree root.

filename Path to the .xml file to import groups from.

relations Imports client relations of the specified static group if the 'true' value is used. The default value is 'false'.

group import static * gr_static.xml true

group import parametric 2 gr_parametric.xml

group remove

Removes one or more clients from a static group.

group remove <group ID> <clients>

group ID , clients  Same as for 'group assign'.

group remove 1 3,4

group update

Updates a static or parametric group with the specified parameters.

group update <group ID> [name <name>] [description <description>] [parentID <parent ID>] [paramsXML <params XML>]

group ID ID of the group to be updated.

name, description, parent ID, params XML, sticky - for help type help group update in the eracmd.exe

group update 2 newname

help

Shows information about using ERA Command-line Console. Use the argument to select a more specialized help.

help [<command 1>] [<command 2>]

command 1 Command to show help for (first word of command name). Possible values: <command name>, flags, commands

command 2 Command to show the help for (second word of command name).

help version

help commands

help help

history

Enables or disables persistent autosaves of shell mode command history after the console is closed. This is disabled by default.

history [<action>]

action If omitted, the current state of saving history after the console quits will be shown. Possible values: true (enable), false (disable), clear (erase the command history), list (show current saved history content)

history true

license

Shows server license information.

license


license

license add

Uploads the specified license key file or files to the ERA server.

license add <filename>

filename Comma-separated list of paths of license key files to upload.

license add c:\era.lic

license details

Shows information about partial license keys loaded by the ERA server.

license details


license details

license replace

Uploads a license key file or files to the ERA server and replaces all old license files with the uploaded license key(s).

license replace <filename>

filename Comma-separated list of paths of license key files to replace with.

license replace c:\era.lic

logforward

Shows or sets current log forwarding settings. There are two ways of using this command:

1. To display the state of a particular log forwarding setting, use the first parameter <type> or use the command without any parameter to show current log forwarding settings of all logs.

2.To set log forwarding settings, the  <type> and <enable> parameters are mandatory. Other parameters ([level <level>], [severity <severity>] and [facility <facility>]) are optional. If an optional parameter is omitted, the value will remain unchanged.

logforward [<type>] [<enable>] [level <level>] [severity <severity>] [facility <facility>]

type Type of log to be displayed or updated. Possible values: event, threat, firewall, hips, antispam, greylist, scan, mobile, device_control, web_control

enable Determines whether forwarding has to be enabled or disabled. Possible values: true, false

level Level of the log to be processed by log forwarding. Possible values: critical, warning, normal, diagnostics

severity SysLog severity value.            Possible values: informational, error, warning, debug

facility SysLog facility value.             Possible values: 0 to 23

logforward

logforward scan

logforward eventlog true level warning

logforward threat false

password

Changes a security password of the ERA server. For empty password use "". If old and new passwords are not specified, the user will be prompted to enter passwords - typed passwords will be displayed as asterisks. This command cannot set passwords which are parts of server configuration. For such passwords, use command SERVERCFG SET or SERVERCFG SETPWD.

password <passwordType> [<oldPassword> <newPassword>]

passwordType Type of password to set. Possible values: replication, client, installer, currentuser

oldPassword Old password. It is possible to use an ERA server administrator password.

newPassword New password.

password currentuser

password replication oldPass1 newPass2

path

Shows or sets the current working directory used as a base for all relative paths (when specifying script path or data file paths).

path [<action>] [<path>]

action Action. Possible values: get (show the current working directory), set (set to the path specified as the next argument), script (set to the path of the current script). Default value: get

path New working directory. If it is a relative path, it is considered relative to the previous working directory.

path

path set d:\scripts

path script

policy

Shows defined policies with policy information. If the argument 'tree' is present, shows a tree hierarchy of policies.

policy [<tree>]

tree Use tree mode to show the policies with the policy inheritance.

policy

policy tree

policy assign

Assigns the specified policy to the specified clients. Note that it is not possible to assign any policy to any client. If the client list contains replicated clients, the policy must be down-replicable. Policy from lower servers cannot be assigned.

policy assign <policy ID> <clients>

policy ID The assigned policy.             Possible values: <policy ID>, !DefaultClientsPolicy

clients Comma-separated list of client IDs (or * for all clients).

policy assign 10 1,2,5,9

policy assign !DefaultClientsPolicy *

policy create

Creates a policy with the specified parameters on the server. Shows the ID of the new policy if successfully created.

policy create <name> <config XML> [parentID <parent ID>] [description <description>] [overrideAnyChild <override any child>] [downReplicable <down replicable>] [defaultForClients <default for clients>] [defaultForLowerServers <default for lower servers>]

name Name for the new policy.

config XML XML file with the configuration for the new policy.

parent ID ID of the parent of the new policy.

description Description of the new policy.

override any child Sets the 'Override any child policy' flag for the new policy. Possible values: true, false.        Default value: false

down replicable Set 'Down replicable policy' flag for the new policy. Possible values: true, false.        Default value: false

default for clients Set the policy as the default policy for clients.                 Possible values: true, false.                      Default value: false

default for lower servers Set the policy as the default policy for lower servers. Possible values: true, false.     Default value: false

policy create new_policy policy.xml

policy delete

Deletes a policy and allows you to set replacements for the deleted policy. Unneeded replacements are ignored.

policy delete <policy ID> [child_policies <child policies parent replacement>] [primary_clients <primary clients policy replacement>] [replicated_clients <replicated clients policy replacement>] [primary_clients_default <primary clients default policy replacement>] [lower_servers_default <lower servers default policy replacement>] [whole_branch <delete whole branch>]

policy ID ID of the policy to delete.

child policies parent replacement New parent policy for the currently deleted policy's child policies.                 Possible values: <policy ID>, !DefaultUpperServerPolicy, !Not Available

primary clients policy replacement New policy for primary clients with the currently deleted policy. Possible values: <policy ID>, !DefaultClientsPolicy

replicated clients policy replacement  ID of the new policy for replicated clients with the currently deleted policy.

primary clients default policy Replacement  ID of the new default policy for primary clients.

lower servers default policy New default policy for lower servers.           Possible values: <policy ID>, !NotAvailable

delete whole branch If the whole branch (the specified policy including child polices) should be deleted. Possible values: true, false     Default value: false

policy delete 2 primary_clients 4

policy export

Exports the specified policies from the local server to an XML file. All policies, single policy or a policy tree with the specified root can be exported.

policy export <policy ID> <filename> [<tree>]

policy ID The ID of the policy to be exported. Use * to export all policies.

filename Path to the .xml file to which the policy is going to be exported.

tree Its default value is 'true' and it means the specified policy will be exported including its entire subtree. If you use the 'false' value, the subtree of a specified policy will not be exported.

policy export * all_policies.xml

policy export 3 policy3.xml true

policy import

Imports all policies from an XML file.  Previously defined policies will not be changed. If a policy name already exists, the new (imported) policy will be renamed.

policy import <filename>

filename Path to the .xml file the policies are supposed to be imported from.

policy import policyBackup.xml

policy update

Updates a policy configuration with the specified parameters.

policy update <ID> [name <name>] [parentID <parent ID>] [configXML <config XML>] [description <description>] [overrideAnyChild <override any child>] [downReplicable <down replicable>] [defaultForClients <default for clients>] [defaultForLowerServers <default for lower servers>] [replicated_clients <replicated clients policy replacement>] [lower_servers_default <lower servers default policy replacement>] [primary_clients_default <primary clients default policy replacement>]

ID ID of the updated policy.

name New name for the updated policy.

parent ID New ID of the parent for the updated policy.         Possible values: <policy ID>, !NoPolicy (the updated policy will have no parent)

config XML XML file with the new configuration for the updated policy.

description New description of the updated policy.

override any child New value of the 'Override any chlid policy' flag for the updated policy. Possible values: true, false

down replicable New value of the 'Down replicable policy' flag for the updated policy. Possible values: true, false

default for clients Set the policy as the default policy for clients. Possible values: true, false

default for lower servers Set the policy as the default policy for lower servers. Possible values: true, false

replicated clients policy replacement    New policy for replicated clients with the currently updated policy.              Possible values: <policy ID>, !DefaultClientsPolicy, !NotAvailable

lower servers default policy replacement New default policy for lower servers. Possible values: <policy ID>, !DefaultClientsPolicy, !NotAvailable

primary clients default policy replacement ID of the new default policy for primary clients.

policy update 123 name policy1 parentID 1 configXML policy.xml overrideAnyChild TRUE defaultForLowerServers FALSE

report

Shows static or dashboard report templates or generated reports. In the case of generated reports, only the reports located on the server are shown.

report <type>

type Report type. Possible values: static, dashboard, generated

report static

report create

Creates a static or dashboard report template.

report create <type> <name> <config XML> [active <active>] [description <description>]

type Type of the newly created report template. Possible values: static, dashboard

name Name of the created report template.

config XML Path to .xml file with the configuration for the created report template. The first <INFO> found in the file is applied to the newly created report template. Name, description and report template type from command line are used instead of these values in the .xml file.

active Active state of the created report template. Not applicable to dashboard templates (ignored if specified). Possible values: true, false. Default value: false.

description Description of the new report template.

report create static new_template C:\config.xml

report delete

Deletes a static or dashboard report template.

report delete <report ID>

report ID ID of the report template to be deleted. To see the available IDs, execute: 'report static', 'report dashboard'.

report delete 2

report export

Exports report templates to a local XML file. Templates that use incompatible types are skipped.

report export <type> <templates> <filename>

type Report type. Possible values: static, dashboard

templates Comma-separated list of report template IDs (use * for all templates of the given type). To see the available IDs, execute the 'report generated' api command.

filename Path to the .xml file to export templates to.

report export static * c:\reports_static.xml

report export dashboard 2,3 c:\reports_dashboard.xml

report generate

To generate static reports based on defined report template just like the "Generate Static Now" button does in the ERA console.

report generate <template ID> <directory>

template ID ID of desired template. To see the template IDs execute the 'report statistic' api command.

directory Path to the desired directory where the report files will be created.

report generate 3 C:\era_statistics

report import

Imports report templates from a local XML file. Templates specified in the XML file which have incompatible types are skipped.

report import <type> <filename>

type Report type. Possible values: static, dashboard

filename Path to the .xml file to import templates from.

report import static c:\reports_static.xml

report import dashboard c:\reports_dashboard.xml

report server

The same feature as downloading a report stored on the server using the "Generated Reports" tab in the ERA console.

report server <generated template ID> <directory>

generated template ID ID of a generated report template stored on the server. To see the IDs of existing reported templates, execute the 'report generated' command.

directory Path to the desired directory where the report file will be downloaded.

report server 1 C:\era_reports

report update

Changes the parameters or configuration of a report template.

report update <report ID> [configXML <config XML>] [active <active>] [description <description>]

report ID ID of the report template to be updated.

config XML Path to the .xml file with the new configuration for report templates that are being updated. First <INFO> found in the file is applied to the updated report template. If set, the description from the command line is used instead of the value in the XML. Otherwise, it is left unchanged. The report template type specified in the XML is ignored - report template type cannot be changed by update.

active Active state of the updated report template. Not applicable to dashboard templates (ignored if specified). Possible values: true, false

description Description of the updated report template.

report update 1 configXML C:\new_config.xml

request

Requests the current version of various data to be transferred from a client to the ERA server. It is possible to request SysInspector Information, Configuration, Protection Status, Protection Features and System Information. Requested data will be received as soon as the client connects to the primary server and the data is available. On replicated clients the request first needs to be replicated. Configuration, Protection Features, Protection Status and System Information is refreshed automatically for clients on the primary server.

request <data type> <clients> [si_compare <compare date>] [<si_snapshot>]

data type Comma-separated list of types of data to be requested.        Possible values: sysinspector, configuration, protection_status, protection_features, system_information

clients Comma-separated list of client IDs (or * for all clients).

compare date If used, compares the requested log with a previous one specified by date and time in UTC in the format YYYY-MM-DD hh:mm:ss (e.g. "2014-01-21 10:43:00"). Used only when requesting SysInspector Information.

si_snapshot Saves the log locally on the client workstation. Used only when requesting SysInspector Information.

request protection_features *

request sysinspector,config 1,2,8 si_compare "2014-01-01 01:02:03" si_snapshot

restart

Restarts the ERA server. The console (commandline) is immediately disconnected after the restart.

restart [<full>]

full Use this parameter for full restart of ERA server. The action is logged in the audit log.

restart

restart full

rule

Shows policy rules.

rule

 

rule

rule create

Creates a new policy rule

rule create <xml> <name> <policy ID> [desc <description>] [priority <priority>] [enabled <enable>]

xml Source XML file, created by exporting existing rule.

name Policy rule name.

policy ID ID of related policy. Only following types could be used: default clients policy, local policies, down-replicable policies from upper server. Possible values: , !DefaultClientsPolicy

description Policy rule description.

priority Policy rule priority. Possible values: top,bottom Default value: bottom

enable Initial state of created policy rule. Possible values: true, false Default value: true

rule create "c:\my data\exportedPolicy.xml" myNewPolicy 3 desc "New policy rule" priority top enabled false

rule delete

Deletes a policy rule

rule delete <policy rule ID>

policy rule ID ID of the policy rule to delete.

rule delete 3

rule import

Imports policy rules from an XML file. The already defined rules will not be changed. If a rule name already exists, the new (imported) rule is renamed.

rule import <file path>

file path XML file path to import rules from.

rule import d:\rule.xml

rule export

Exports policy rules to an XML file.

rule export <rules> <file path>

rules Comma-separated list of IDs of the rules (or * for all rules).

file path XML file path to import rules to.

rule export 1,2 d:\rule.xml

rule update

Changes parameters or configuration of a policy rule. Parameters which are not specified will remain unchanged.

rule update <policy rule ID> [xml <config xml>] [desc <description>] [policy <policy ID>] [priority <priority>] [enabled <enable>]

policy rule ID of the policy rule to update.

config xml Configuration XML file, created by exporting existing rule.

description New description of the policy rule.

policy ID New related policy ID. Possible values: , !DefaultClientsPolicy

priority Priority change of the policy rule. Possible values: up,down,top,bottom

enable New state of the policy rule. Possible values: true, false

rule update 2 xml d:\rule.xml enabled true

runnow

Runs a specified server action immediately.

runnow <actions>

actions Actions to run. Possible values: cleanup, compact, replicate, replicate_with_mark_all_clients, update, update_with_clear_cache, apply_policy_rules, synchronize_parametric_groups

runnow update

runnow cleanup,compact

scanlog

Shows the content of the specified scan log.

scanlog <ID>

ID ID of a required scan log.

scanlog 1

script

Executes a batch of commands in an external file.

script <filename>

filename Path to the file containing commands. Commands can be separated by a new line or a semicolon.

script c:\eraGetClientsInfo.txt

servercfg get

Downloads the current server configuration to the specified local file.

servercfg get <filename>

filename Local file path to save downloaded configuration to.

servercfg get d:\era_config.xml

servercfg list

Shows available configuration settings which can be modified directly by the SERVERCFG SET and SERVERCFG SETPWD commands.

servercfg list


servercfg list

servercfg put

Uploads the server configuration from a local XML file.

servercfg put <filename>

filename Local XML file path to upload.

servercfg put d:

ew_config.xml

servercfg set

Assigns a value to a particular configuration setting. Use command SERVERCFG LIST to show all available settings.

servercfg set <name=value>

 

name=value Name of the setting and a value to assign.

servercfg set port_con=2223

servercfg set mirror_enabled=1

servercfg setpwd

Assigns a value to a particular configuration setting through password prompt. The typed values are displayed as asterisks, so it is useful for entering passwords. Use the command SERVERCFG LIST to show all available settings. This command cannot set server security passwords - use the PASSWORD command for that.

servercfg setpwd <name>

name Name of the setting to be set.

servercfg setpwd ps_password_smtp

set

Gets, sets or saves values of flags. Flags are used to specify command output and other common settings. To see a list of available flags, use the HELP FLAGS command. Setting a flag takes effect for all subsequent commands in the current script file or for all subsequent commands in shell mode (if used directly in shell mode). The flag can be overridden for a single command by specifying a command flag after the command.

set [<flag name>] [<flag value>]

flag name Use the flag name without the initial dash. Use the command HELP FLAGS to see a list of available flags. If not specified, current values for all flags are printed. Alternatively, "save" can be used to save the current flags state to the startup file (use the second argument to specify an alternative startup file path).

flag value Use the command HELP FLAGS for available values. If not specified, current value of the flag is printed.

 set

 set enc

 set enc utf8

 set format table

 set paged true

 set save

 set save startup.txt

show

Shows data from the specified table. Use "count" instead of column list to get the row count only.

show <table name> <list of columns> [where <where>] [group by <group by>] [order by <order by>] [skip <skip>] [limit <limit>]

table name  Use command SHOW TABLES to see available tables.

list of columns Comma-separated list. Use command SHOW COLUMNS to see the list of columns for the specified table. Use * for all columns. Use "count" to get row count only.       Possible values: <column name>, *, count where Comma-separated list of conditions in format <column><comparison operator><value> (e.g. ID>3) or <column> <IN operator> (<comma_separated_values_list>). The following comparison operators are allowed: = (or -EQ), != (or -NE), <= (or -LE), >= (or -GE), < (or -LT), > (or -GT). The following IN operators are allowed: -IN or -NOTIN. For text columns, -LIKE and -NOTLIKE with a text value with wildcards (* - zero or more characters, ? - exactly one character) can be used instead of a comparison operator.

group by Comma-separated list of columns to group by. Rows with corresponding values in all of these columns will be shown as one row.

order by Comma-separated list of columns to order by. After each column name, -ASC (default) or -DESC can be specified for ascending or descending order.

skip How many rows to skip at the beginning.

limit Max. count of rows to show.

show client *

show client client_name

show client ID, client_name WHERE ID>4, configuration -IN (ready, requested) ORDER BY client_name LIMIT 5

show client * WHERE product_name -LIKE *endpoint*

show client count WHERE ID>4

show client * where group_ID=4

show client * where requested_policy_ID -IN (2,3)

show event * where client_group_ID=4

show event * where client_requested_policy_ID -IN (2,3)

show columns

Shows available columns for the specified table.

show columns [for] <table name>

table name  Table to show the columns for. Use the SHOW TABLES command to get available table names.

show columns for client

show tables

Shows available tables that can be used in the SHOW command.

show tables


show tables

task config

Creates a configuration task using a configuration file. Shows the ID of the new task if successfully created.

task config <configuration file> <clients> [name <name>] [description <description>] [applyAfter <apply after>] [deleteIfCompleted <delete if completed>]

configuration file XML file from configuration editor.

clients Comma-separated list of client IDs (or * for all clients).

name Task name.

description Task description.

apply after UTC time when the task has to be applied in one of the following formats: YYYY-MM-DD hh:mm:ss, YYYY-MM-DD hh:mm, YYYY-MM-DD hh, YYYY-MM-DD. For example (date with time): "2014-01-21 10:43". Example (date without time): "2014-01-21".

delete if completed Use If the task has to be deleted after successfully completion. Possible values: true, false. Default value: false.

task config d:\task_config_01.xml 1,4,5 name "Config01" description "email client protection config"

task scan

Creates a scan task. Shows the ID of the new task if successfully created.

task scan <clients> [name <name>] [description <description>] [applyAfter <apply after>] [deleteIfCompleted <delete if completed>] [exclude <exclude>] [windows_profile <profile>] [windows_targets <windows targets>] [windows_no_cleaning <no cleaning>] [windows_shutdown_after_scan <shutdown>] [windows_allow_shutdown_cancel <allow cancel>] [linux3_targets <linux3 targets>] [linux3_no_cleaning <no cleaning>] [linux_profile <profile>] [linux_targets <linux targets>] [linux_no_cleaning <no cleaning>] [mobile_targets <mobile targets>] [mobile_no_cleaning <no cleaning>] [max_delay <max delay>]

clients Comma-separated list of client IDs (or * for all clients).

name  Task name.

description Task description.

apply after UTC time when the task has to be applied in one of the following formats: YYYY-MM-DD hh:mm:ss, YYYY-MM-DD hh:mm, YYYY-MM-DD hh, YYYY-MM-DD. For example (date with time): "2014-01-21 10:43". Example (date without time): "2014-01-21".

delete if completed If the task has to be deleted after successfully completed. Possible values: true, false. Default value: false.

exclude Comma-separated list of sections to exclude from the scan task. Possible values: windows, linux3, linux, mobile.

profile Scan profile name. Possible values: !InDepthScan, !MyProfile, !SmartScan, !ContextMenuScan, <user-defined profile name>. Default value: !InDepthScan

windows targets Comma-separated list of windows targets to scan.               Possible values: !Memory, !RemovableDrivesBoot, !RemovableDrives, !LocalDrivesBoot, !LocalDrives, !RemoteDrives, !AllDrivesBoot, !AllDrives, <custom path>

Default value: !Memory, !LocalDrivesBoot, !LocalDrives

no cleaning Scan without cleaning. Possible values: true, false.   Default value: false

shutdown Shutdown computer after scan. Possible values: true, false. Default value: false

allow cancel Allow an user to cancel the shutdown. Possible values: true, false. Default value: false

linux3 targets Comma-separated list of linux3 paths to scan.                 Default value: /

linux targets Comma-separated list of linux paths to scan. Default value: /

mobile targets Comma-separated list of mobile targets to scan.                   Possible values: !All, <custom path> Default value: !All

max delay Max. random delay in minutes.

task scan 1,3

task update

Creates an update task. Shows the ID of the new task if successfully created.

task update <clients> [name <name>] [description <description>] [applyAfter <apply after>] [deleteIfCompleted <delete if completed>] [exclude <exclude>] [windows_profile <windows profile>] [max_delay <max delay>]

clients Comma-separated list of client IDs (or * for all clients).

name Task name.

description Task description.

apply after UTC time when the task has to be applied in one of the following formats: YYYY-MM-DD hh:mm:ss, YYYY-MM-DD hh:mm, YYYY-MM-DD hh, YYYY-MM-DD. For example (date with time): "2014-01-21 10:43". Example (date without time): "2014-01-21".

delete if completed Use if the task has to be deleted after successfully being completed.  Possible values: true, false. Default value: false

exclude  Comma-separated list of sections to exclude from the update task.  Possible values: windows, linux3, linux, mobile

windows profile Profile name for windows section.

max delay Max. random delay in minutes.

task update 2,4,6 name "Update01" exclude windows

task update *

version

Shows the current version of the Command-line Console, API and ERA server.

version [<component>]

component Which component's version should be displayed. If missing, all versions are shown.           Possible values: cmd, api, server

version

version cmd