title: Run custom command on remote Linux machine from windows machine using batch file
body: <p>I want to run a custom command on remote Linux machine from my windows machine using batch file. The custom command returns integer value, which will be further used by batch file. How can I achieve this?</p>
  
  <p>Right now, I am invoking <code>winscp</code> from batch file and writing the output of command from <code>winscp</code> to a file remotely then using <code>get</code> command of <code>winscp</code>, I am downloading that file into my windows machine. After that I am reading that file from batch file. Okay but very long process.</p>
  
  <p>My aim is to get the output of command available to batch script, so that value can be used further in batch file.</p>