Getting help - NICE DCV Session Manager
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Getting help

You can get help with any command when using the DCV SM Command Line Interface (DCV SM CLI). To do so, simply type --help at the end of a command name.

For example, the following command displays help for the general DCV SM CLI options and the available top-level commands.

dcvsm --help

The following example shows the output of the CLI help.

Usage: dcvsm [OPTIONS] COMMAND [ARGS]... NICE DCV Session Manager CLI Options: --conf TEXT Name of the configuration file to read the configuration parameters --broker-url TEXT The URL of the broker --debug Specify to enable the debug mode. By default is disabled --no-verify-ssl Specify to disable the verification of SSL certification. By default is enabled --output-format TEXT Specify the format of the output --ca-bundle TEXT Specifies the path to a custom certificate bundle (a file with a .pem extension) of CA to use when establishing SSL/TLS connections --auth-server TEXT URL of the authentication server used to request the token --version Show the version and exit. -h, --help Show this message and exit. Commands: close-servers Closes one or more NICE DCV server create-session Creates a new NICE DCV session delete-session Deletes the specified NICE DCV session describe-servers Describes one or more NICE DCV servers describe-sessions Describes one or more NICE DCV sessions get-session-connection-data Gets connection data for a specific NICE DCV session. get-session-screenshots Gets screenshots of one or more NICE DCV sessions. open-servers Opens one or more NICE DCV servers update-session-permissions Updates the user permissions for a specific NICE DCV session.

All commands accept --help for contextual help information. For example, the following command displays help for the create-session command.

dcvsm create-session --help

The following example shows the output for the create-session --help command.

Usage: dcvsm create-session [OPTIONS] Create sessions API Options: --name TEXT The name for the session [required] --owner TEXT The name of the session owner [required] --type TEXT Session type: CONSOLE|VIRTUAL [required] --init-file-path TEXT Supported with virtual sessions on Linux NICE DCV servers --autorun-file TEXT The path to a file on the host server that is to be run inside the session --autorun-file-arguments TEXT Command-line arguments passed to AutorunFile upon its execution inside the session --max-concurrent-clients INTEGER RANGE The maximum number of concurrent NICE DCV clients, if provided must be between 1 and 100 [1<=x<=100] --dcv-gl-enabled Indicates whether the virtual session is configured to use hardware-based OpenGL. Specify to enable it, by default is disabled --permissions-file TEXT The Base64-encoded contents of the permissions file --requirements TEXT The requirements that the server must satisfy in order to place the session --storage-root TEXT Specifies the path to the folder used for session storage -h, --help Show this message and exit.

The NICE DCV SM CLI Command Reference also contains the help content for all NICE DCV SM CLI commands. All commands in the NICE DCV SM CLI correspond to requests made to the APIs of the broker. Each API has an API reference that can be found on the NICE DCV Session Manager Developer Guide section.