Issue
How can I remove the ReadOnly attribute on a file, using a PowerShell (version 1.0) script?
Solution
You can use Set-ItemProperty
:
Set-ItemProperty file.txt -name IsReadOnly -value $false
or shorter:
sp file.txt IsReadOnly $false
Answered By - Joey Answer Checked By - Clifford M. (PHPFixing Volunteer)
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.