Filling the list of Device Control rules. KAVSHELL DEVCONTROL
3 August 2023
ID 146714
You can use the KAVSHELL DEVCONTROL
command to add rules from an XML file to the Device Control task's rule list according to the selected import rule and to delete all existing rules from the list.
A password might be required to execute the command. To enter the current password, use [/pwd:<password>]
.
KAVSHELL DEVCONTROL command syntax
KAVSHELL DEVCONTROL /append <path to XML file> | /replace <path to XML file> | /merge <path to XML file> | /clear
KAVSHELL DEVCONTROL command examples
To add rules from an XML file to the existing device control rules according to Add to existing rules import rule, execute the following command:
KAVSHELL DEVCONTROL /append :c:\rules\devctrlrules.xml
You can use command-line options to select the import rule used to add new rules from the specified XML file to the defined list of Device Control rules (see the table below).
KAVSHELL DEVCONTROL
command-line parameters/options
Key | Description |
/append <path to XML file> | Update the list of Device Control rules based on the specified XML file. Import rule - Add to existing rules (rules with identical settings are duplicated). |
/replace <path to XML file> | Update the list of Device Control rules based on the specified XML file. Import rule - Replace existing rules (rules with identical parameters are not added; the rule is added if at least one rule setting is unique). |
/merge <path to XML file> | Update the list of Device Control rules based on the specified XML file. Import rule - Merge with existing rules (new rules do not duplicate existing rules). |
/clear | Clear the list of Device Control rules. |