Information
Unsupported content This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

NSHScript - listParameterNamesByGroupAndName


NSHScript - listParameterNamesByGroupAndName

Description :

This command lists all the parameter names of an NSH script.

You must provide the name of the script and the fully qualified path to the depot group containing the script (for example, /NSHScripts/Utility). This command returns a list of all the parameter names for the given NSH script.

Return type : String

Command Input :

Variable Name

Variable Type

Description

scriptGroup

String

Full path to the depot group containing the NSH script.

scriptName

String

Display name of the NSH script.

Example

The following example shows how to list all the parameters of an existing NSH script.

Script





NSHSCRIPT_GROUP=/nshscripts

NSHSCRIPT=reboot

RESULT=`blcli NSHScript listParameterNamesByGroupAndName $NSHSCRIPT_GROUP $NSHSCRIPT`



 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC Server Automation Command Line Interface 8.3