4 Replies Latest reply on Jan 27, 2016 5:51 AM by Santhosh Kurimilla

    Need to pass servername as parameter in nexec command

      M running a command to find the status of a particular windows service using below mentioned command


      nexec <server name> sc query <service name>


      Since the job is parameterized so I want to replace <servername> with $1 as a parameter to the command