Hi ,
I require a powershell script that an execute an sql query in a .sql file.
The files results should then be outputed to a txt file.
Server, Database, Username, Password (Security) should be able to defined.
I require the code to be well commented.
Thank you.