title: PowerShell run bat from location on my computer on remote computer
body: <p>I need to run a BAT file on some servers
  Because of the amount of many servers I avoid copying the file on any server</p>
  
  <p>I have the file on my computer and I try to access it remotely</p>
  
  <pre><code>$CMDCOMMAND = "\\Mycomp\c$\file.bat"    
  Invoke-Command -ComputerName $Hostname -Credential $Cred -ScriptBlock {
      Start-Process cmd.exe "/c $CMDCOMMAND
  }
  </code></pre>