pipeline file changes

This commit is contained in:
Brett Hewitson 2022-12-29 15:28:51 +10:00
parent c6afe52140
commit a571315a44

View file

@ -42,6 +42,9 @@ steps:
$files = Get-ChildItem -Path $PathToSearch -Filter $SearchFilter -Recurse
foreach ($file in $files) {
Write-Host " -> Checking $($file.FullName)"
# remove the read-only bit on the file
Set-ItemProperty $file.FullName -name IsReadOnly -value $false
}
pwsh: true