I am running a NSH Script Job (inside a batch job) of type "Execute the script separately against each server (using "runscript") in BSA 8.3
I need to retrieve the target server name inside the script, so I set one parameter with the following value :
expecting to retrieve an instanciated property inside the script :
As it happens, I get
Also the "%h" doesn't work either.
I also tried to use the BLCLI "NSHScriptJob.getSJobDeviceList" but it returns an empty list.
Thanks for your help.
echo $NSH_RUNCMD_HOST ?
it works perfectly well, but it is much too easy
Thanks for your help