Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save andermoney/5140178 to your computer and use it in GitHub Desktop.

Select an option

Save andermoney/5140178 to your computer and use it in GitHub Desktop.
Powershell command to list directory structure recursively
Get-ChildItem . -Recurse | Where-Object {$_.GetType().ToString() -eq "System.IO.DirectoryInfo"} | Select @{Name="Path"; Expression={ $_.FullName } }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment