7 Replies Latest reply on Apr 25, 2014 6:48 AM by anish chatterjee Branched from an earlier discussion.

    How to pass a servername as a parameter into a NSH file

      Hi Bill,

       

      Please can you help me out with a problem i am facing.

      I am trying to pass a servername as a parameter into a NSH file but it is

      throwing an error. below is the excerpts from the NSH script and the error

      I am getting. Please can you advise where I am going wrong please?

       

       

      SCRIPT:

      serverList=$1

      echo serverList

      #Netbackup_PBX_Restart#

      blcli_execute Job executeAgainstServers "DBKey:SJobKeyImpl:225041-2"

      $serverList

      Error:

       

      Authentication succeeded: acquired session credential

      serverList

      Command execution failed.

      com.bladelogic.om.infra.mfw.util.NotFoundException: Se

      rver serverList not found.