Created
April 4, 2017 08:28
-
-
Save RobsonAutomator/02b853134941eef5abcd4b78312f65c9 to your computer and use it in GitHub Desktop.
Set read only attributes on files
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
$source="C:\inetpub\wwwroot\Sitecore82\Website\bin\*" #path to files | |
Set-ItemProperty -Path $source -Name IsReadOnly -Value $true -Verbose |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment