How can I remove the ReadOnly attribute on a file, using a PowerShell (version 1.0) script?
or you can simply use:
get-childitem *.cs -Recurse -File | % { $_.IsReadOnly=$false }
Above will work for all .cs files in sub-tree of current folder. If you need other types included then simply adjust "*.cs" to your needs.