eShell (short for ESET Shell) is a command line interface for ESET Mail Security. It is an alternative to the graphical user interface (GUI). eShell includes all the features and options that the GUI normally gives you. eShell lets you configure and administer the whole program without the use of the GUI.
Apart from all the functions and features that are available in the GUI, it also provides you with the option of using automation by running scripts in order to configure, modify configuration or perform an action. Also, eShell can be useful for those who prefer to use the command line over the GUI.
There are two modes in which eShell can be run:
•Interactive mode - this is useful when you want to work with eShell (not just execute a single command) for tasks such as changing configuration, viewing logs, etc. You can use interactive mode if you are not familiar with all the commands yet. Interactive mode will make it easier for you when navigating through eShell. It also shows you available commands you can use within a particular context.
•Single command / Batch mode - you can use this mode if you only need to execute a command without entering the interactive mode of eShell. This can be done from the Windows Command Prompt by typing in eshell with the appropriate parameters. For example:
eshell get status or eshell set antivirus status disabled
In order to run certain commands (such as the second example above) in batch/script mode, there are a couple of settings that you need to configure first. Otherwise, you'll get an Access Denied message. This is for security reasons.
There are two ways to enter interactive mode in eShell:
•Via Windows Start menu: Start > All Programs > ESET > ESET Mail Security > ESET shell
•From Windows Command Prompt by typing in eshell and pressing the Enter key
When you run eShell in interactive mode for the first time, a first run (guide) screen will display.
Next time you run eShell, you'll see this screen:
You can customize eShell in ui eshell context. You can configure aliases, colors, language, execution policy for scripts, settings for hidden commands and more.