Running Commands

From the command line or in a batch or shell file, execute commands with the required global and optional global arguments plus any necessary options.

Example Command

Here is an example of a CLI command using the getResources command and a Common Tomcat application server default port:

da-client -weburl "http://serverName:8080/da" 
    -username admin -password admin getResources 
Note: CLI commands do not support new lines. Sample entries are broken for display purposes only.
Tip:

The command line client is a Java application. You may need to set your JAVA_HOME environment variable to run the commands from the command line. For example:

JAVA_HOME=C:\Program Files\Micro Focus\common\jre\8.0