3 Replies Latest reply on Feb 19, 2016 9:34 AM by Daniel Suen

    nsh script practice...

    Daniel Suen

      I have an nsh script in the depot, and in order to run it, I have to set the target server.

       

      My nsh script does not really operate on any target server. It needs any app server to run, which I saw that the job would assign one for me, I am perfectly fine with this except the "target server". My script would just fetch server properties for a set of servers under some smart group, and send the output locally (on the app server).

       

      If "target server" has to be set, and I don't want my script to fail if the "target server" is not available, what is the best practice in doing this?

       

      Appreciate if someone share the proper way of doing this. Thanks.

       

      Daniel.