Skip to content

Instantly share code, notes, and snippets.

@byBretema
Created May 22, 2024 10:00
Show Gist options
  • Save byBretema/e2003d7e9d4078343b09f512648495b3 to your computer and use it in GitHub Desktop.
Save byBretema/e2003d7e9d4078343b09f512648495b3 to your computer and use it in GitHub Desktop.
Get-ChildItem . -Directory | % { Write-Host "`n[!] $($_.FullName)`n$("-"*40)"; Get-ChildItem $_ -Directory | % { Write-Host "$(Test-Path "$($_.FullName)\.git") : $($_.BaseName)" } }; Write-Host ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment