How can I remove the ReadOnly attribute on a file, using a PowerShell (version 1.0) script?
Even though it's not Native PowerShell, one can still use the simple Attrib command for this:
attrib -R file.txt