title: How to out put the PC name that has certain process running?
body: <p>I m using psexec to auto run </p>
  
  <p>get.bat</p>
  
  <hr>
  
  <p>tasklist | findstr pmill.exe >> dc-01\c$\0001.txt </p>
  
  <hr>
  
  <p>run_get.bat</p>
  
  <hr>
  
  <p>psexec @%1 -u administrator -p password -c "C:\get.bat"</p>
  
  <hr>
  
  <p>pclist.txt</p>
  
  <hr>
  
  <p>on all PCs on our network, </p>
  
  <p>how can i get the result with PC name instead of only pmill.exe in the text file?
  is there anyway i can do from powershell?
  I need to get the pc name in result.
  Hint  plz!</p>