title: Robocopy to copy files to a remote machine
body: <p>I'm trying to write a robocopy command to copy files from my local computer to any one of my deployment servers</p>
  
  <pre><code>ROBOCOPY ../../MyService/bin/release/ \\remote-computer\\C:\services\myservice /MIR
  </code></pre>
  
  <p>and I get this error</p>
  
  <pre><code>The system detected a possible attempt to compromise security. 
  Please ensure that you can contact the server that authenticated you.
  </code></pre>
  
  <p>This is expected as I haven't included any sort of security credentials in the command.</p>
  
  <p>Is there a way to get this to work by including permissions?  I don't want to have to do this by sharing folders and stuff like that.  I've looked but I can't see anything in the documentation.</p>
  
  <p>Should I do this with something like <code>psexec</code>?  Or perhaps I should be using something like powershell instead?</p>