title: How to pass a script to a Windows 8 Vagrant box from the Mac command line?
body: <p>I'm running a Windows 8.1 guest on a Mac OSX 10.11 host, via Vagrant.  I want to pass in a script to this guest via command-line.  If the guest were Unix-based, I could just do <code>vagrant ssh -c "$THE_SCRIPT" my-unix-box</code> and call it a day.  When I try for the Windows guest, I'm told that the command <code>bash</code> does not exist.</p>
  
  <p>However, I can <code>vagrant ssh</code> into the Windows guest without specifying a command just fine.  The resulting shell is <code>cmd</code>, <strong>not</strong> PowerShell or Bash or similar.</p>
  
  <p><strong>How can I execute a script on a guest Windows Vagrant box (from an OS X host) by passing it in on the command line?</strong>  Vagrantfile configuration, guest software to install, or similar.  I'm not picky about which shell ultimately runs my script.</p>