Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- How to retrieve a recursive directory and file list from powershell excluding some files and folders?
- Get-ChildItem -Recurse .targetdir -Exclude *.log |
- Where-Object { $_.FullName -notmatch '\excludedir($|\)' }
- Get-ChildItem -Recurse .targetdir -Exclude *.log |
- Where-Object { $_.FullName -notmatch '\excludedir($|\)' }
Add Comment
Please, Sign In to add comment