Administration

Invoke-SQLCMD lesson learned

Iā€™m not a big Powershell user, but sometimes it is useful. Recently I decided to setup a SQL Agent Job to execute all .SQL script files found in a particular folder. I used a Powershell step and it seemed pretty easy. However, I noticed that when I used the out-File parameter that I only got… Continue reading Invoke-SQLCMD lesson learned