License Commands

These commands import and validate the server’s Dodeca license, and report on licensed user counts. They operate at the repository level rather than against a specific tenant.

Import a License

Import a license file and save it as the server’s active license:

dshell/:>import-license --file dodeca-license.xml

Add --validate-only to parse and log the license contents without saving it:

dshell/:>import-license --file dodeca-license.xml --validate-only

Validate the Current License

Log the currently installed license, or a warning if none is installed:

dshell/:>validate-current-license

Use --encode to instead print the license’s encoded content, suitable for supplying as a startup parameter:

dshell/:>validate-current-license --encode

User Audit

Report active users over a trailing window (defaults to 30 days) against the license’s user count for a product. By default the report covers Dodeca (DSMS); add --dai to report on Excel Add-in (DAI) users instead:

dshell/:>user-audit --days 60 --print
dshell/:>user-audit --dai --print --filename dai-user-audit.csv

--print writes the table to the console; --filename additionally (or instead) writes the results to a CSV file. The summary log line reports the active user count, the window in days, the number of currently active sessions, and the licensed user count for the selected product (or none if no license is installed or it could not be validated).