title: Start-Process powershell with spaces
body: <p>I have been at this for a long while now, getting to the point where I'm very frustrated. I'm hoping someone can point me in the right direction.</p>
  
  <p>I need to run mysqldump, for 6 specific databases.
  I need each spawn to run after the last has finished. It should not run all the commands at the same time. It needs to wait.</p>
  
  <p>I've tried this:</p>
  
  <pre><code>$dump = "C:\Program Files\MySQL\MySQL Server 5.6\bin\mysqldump.exe"
  $args = @('-u','databaseUser','-pMySuperAwesomePasswordHere','--single-transaction','--log-error=c:\backups\mysqldump_error.log',"$database &gt; $backupFilePath\$database.sql")
  Start-Process $dump $args -Wait
  </code></pre>
  
  <p>I've tried this:</p>
  
  <pre><code>$cmd = $backupCmd + $database + " &gt; " + "$backupFilePath\$database.sql"
  Write-Host $cmd
  invoke-expression $cmd | out-null
  </code></pre>
  
  <p>How do I execute a command, especially one with redirecting the output to a file on the filesystem?</p>
  
  <p>Thank you.</p>