The emLicense program can be used to install, remove and list licenses from the command line. It can also be used to get, set and list licensing configuration properties.

Usage Description
emLicense install license-strings... Install licenses
emLicense list List all installed licenses
emLicense propget name Get property value
emLicense proplist List all property names
emLicense propset name value Set property value
emLicense remove license-ids... Remove licenses
Option Description
-erase-all-existing Erase all existing licenses when installing
-verbose Produce verbose output

The install command can be used to install licenses:

$ emLicense install license-strings...

The list command can be used to list installed licenses:

$ emLicense list
Product: SEGGER Embedded Studio
Ethernet MAC Address Lock: 01-02-03-04-05-06 (OK)
Licensed to: Joe Bloggs
License ID: 00010203-04050607-08090A0B-0C0D0E0F

The remove command can be used to uninstall licenses:

$ emLicense remove 00010203-04050607-08090A0B-0C0D0E0F

The proplist command can be used to list all licensing configuration properties:

$ emLicense proplist
Properties:
  license-server-enabled   Specifies whether license server support is enabled (yes|no)
  license-server-host      Specifies license server host and port (host[:port])
  license-server-user      Specifies license server user name

The propget command can be used to get a licensing configuration property value:

$ emLicense propget license-server-enabled
no

The propset command can be used to set a licensing configuration property value:

$ emLicense propset license-server-enabled yes