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`
Was this page helpful? Yes No
Submitting...
Thank you
Comments