mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-06 15:17:34 +00:00
pipeline file changes
This commit is contained in:
parent
c6afe52140
commit
a571315a44
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue