Skip to main content
Skip table of contents

How to control script objects from the command line

Overview

The command line tool "VISULOX addon script" allows to control VISULOX shell scripts
for Command Guard and RDP files used in a vlxshell application.

Usage

The following subcommands are available:

CommandDescription
listList and print shell scripts.
addAdd a shell script.
editModify fields of a shell script.
deleteRemove a shell script.

Shell script elements (edit)

ElementDescription
-name<>

Name of the script entry in the database <>

-category <>

Script category rdp / guard. Default value: rdp

-mode <>Script enabled / disabled. Default value: on.
-script <>Path to a readable existing script file "<>arg1 arg2 arg3"
-grant <>Set granted user in database record <>

Examples


List current available shell scripts

CODE
visulox addon script list

    -------------
    | basicname |
    -------------
    |    Check1 |
    |    Check2 |
    -------------

Add script

CODE
visulox addon script add -name Check3 -category guard -script /tmp/test3

Add an existing RDP file to the VISULOX Cluster

CODE
visulox addon script add -name RDP -category rdp -script /tmp/testfile.rdp

Edit shell script

CODE
visulox addon script edit -name Check3 -category guard -mode off -script /tmp/test4

Remove an entry

CODE
visulox addon script delete -name Check3




JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.