I want to be able to dump a database to a sql text file using Powershell. I want this because our DBAs want to be able to do a diff on the file that is committed to SVN. They won't execute it if they can't see what it contains.
I've found many scripts that backup to a binary .bak file but can't find any that dump as a sql text file.
Anybody have a link to some resources?