How can I pre pend (insert at beginning of file) a file to all files of a type in folder and sub-folders using Powershell?
I need to add a standard header file to all .cs and was trying to use Powershell to do so, but while I was able to append it in a few lines of code I was stuck when trying to pre-pend it.