Created
February 13, 2018 01:22
-
-
Save mikaelweave/4ed9e2b75569233051c29245824c3839 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#view if readonly | |
gci -Include *.cshtml -Recurse -Path $pwd | select fullname,isreadonly | |
#remove read only | |
gci -Include *.cshtml -Recurse | % { if($_.IsReadOnly){$_.IsReadOnly= $false} } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment