HP NC326m Network Adapter License Utility for Windows User Guide - Page 5

Command line, Command line syntax-nalicense, Command line arguments, Return codes

Page 5 highlights

Command line Command line syntax-nalicense Use the following format to run the nalicense command: nalicense add [/l ] [/?|/help] nalicense display [/l ] [/?|help] Command line arguments Use the following optional command line arguments. Argument Function /l /help /? Identifies the license string to add to the system and is valid only with the add subcommand. The license string must be in dash separated format such as the following example: "AAAAA-BBBBB-CCCCC-12345-12345" Specifies the location to write successful messages or error messages. Displays usage of the utility. Displays usage of the utility. Return codes The following return codes are displayed. Code Description 0 Success 1 Duplicate license exists 2 Invalid license 3 Unrecognized license 4 Usage error Command line examples-nalicense The following are nalicense command line examples. Command line 5

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6

Command line 5
Command line
Command line syntax-nalicense
Use the following format to run the nalicense command:
nalicense add <license string> [/l <log-file>] [/?|/help]
nalicense display [/l <log-file>] [/?|help]
Command line arguments
Use the following optional command line arguments.
Argument
Function
<
license string
>
Identifies the license string to add to the system and is valid only with the add
subcommand. The license string must be in dash separated format such as the
following example:
"AAAAA-BBBBB-CCCCC-12345-12345"
/l <
log-file
>
Specifies the location to write successful messages or error messages.
/help
Displays usage of the utility.
/?
Displays usage of the utility.
Return codes
The following return codes are displayed.
Code
Description
0
Success
1
Duplicate license exists
2
Invalid license
3
Unrecognized license
4
Usage error
Command line examples-nalicense
The following are nalicense command line examples.