title: WMI Process Call Create will not Run Batch script properately
body: <p>This is what i am trying to do:
  I have a NLB Cluster. There are two machines on said cluster: <strong>Node1</strong> and <strong>Node2</strong>.
  I have a third machine that is not in that, or any, cluster. This third machine is called: <strong>Monitor1</strong></p>
  
  <p>Once every hour, i would like to run a script to check if Node1 and Node2 are up.
  This script will be run via TaskScheduler.
  I am using the following command to execute the script on Node1 and Node2:</p>
  
  <pre><code>wmic /node:NODE1,NODE2 process call create "C:\ClusterCheck.bat"
  </code></pre>
  
  <p>The contents of the ClusterCheck.bat script is as follows:</p>
  
  <pre><code>NLB Query | findstr /i /R /C:"host . is stopped"
  IF %ERRORLEVEL% EQU 0 (ECHO %COMPUTERNAME%_down)&gt;DOWN.txt
  IF %ERRORLEVEL% EQU 1 (ECHO %COMPUTERNAME%_up)&gt;UP.txt
  code here
  </code></pre>
  
  <p>When I use <code>wmic /node:"%1" process call create "C:\ClusterCheck.bat"</code> there is not output.
  When I go into the server and manually double click the ClusterCheck.bat file, it gives me the appropriate output depending whether the node is up or down.</p>
  
  <p>Does anyone have any ideas how I can get those files to output?</p>