title: pushing code to windows servers in a scriptable way
body: <p>I'm looking for a good way to push code quickly and securely to my company's Windows web servers for release deployments.</p>
  
  <p>I have a *nix background and in the past have always used rsync in conjunction with ssh for such tasks because it is quick, secure, and scriptable.</p>
  
  <p>Right now our deployment process is very manual and requires logging into each server over remote desktop and using TortoiseHg to pull code from our main repo into the server (obviously this requires the webserver to have credentials into the central Hg repo).  Needless to say, this process is very human, and accordingly error prone, not to mention tedious and slow.  We also have several servers that we use internally for dev staging, QA team, etc.</p>
  
  <p>What I would like to know is</p>
  
  <p>1) Is there a straightforward way to do this either with rsync &amp; ssh (and cygwin or powershell).</p>
  
  <p>2) What is the most accepted way to script pushing code to Windows boxes??</p>
  
  <p>Thanks,
  Jamie</p>