NSHScriptJob - setNshOutputPropertyName
NSHScriptJob - setNshOutputPropertyName
Description :
This command sets the NSH Output Property Name. This command returns the modified DBKey of the job
Return type : DBKey
Command Input :
Variable Name | Variable Type | Description |
|---|---|---|
jobKey | DBKey | Handle to the NSH Script Job to set the output property name for. |
propertyName | String | Name of the NSH Output Property Name |
Example
The following example gets a DBKey of NSH Script Job, sets NSH Output Property name and returns the modified DBkey of the job
Script
JOB_FOLDER="/NSHScriptJobs"
JOB_NAME="NSHScriptJobWithOutputPropertyName"
JOB_KEY=`blcli NSHScriptJob getDBKeyByGroupAndName $JOB_FOLDER $JOB_NAME`
JOB_NSH_PROPERTY_NAME="NSH_OUPUT_PROPERTY_NAME"
JOB_MODIFIED_KEY=`blcli NSHScriptJob setNshOutputPropertyName $JOB_KEY $JOB_NSH_PROPERTY_NAME`
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*