Get-ChildItem -Recurse -File -Include Dockerfile,docker-compose.yaml,*.cs | Where-Object { $_.DirectoryName -notmatch '\\(bin|obj)(\\|$)' } | ForEach-Object { "`n### FILE: $($_.FullName)`n" Get-Content $_.FullName } | Out-File .\all-code.txt -Encoding utf8