Is there an easy way to run a MySQL query from the PowerShell command line and output the results into a csv formatted file?
This question is the same as How to output MySQL query results in CSV format? except in Windows. I had to figure it out in PowerShell but my answer didn't belong on the linux question. So here's the Windows+PowerShell sibling.