2 Replies Latest reply on Feb 11, 2014 7:18 AM by Stéphane Leibovitsch

    How to retrieve target server(s) in a NSH Script ?

      Hi all,


      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.


      Stéphane Leibovitsch