Created
January 31, 2020 14:54
-
-
Save sudojunior/5e802b02b427d9d05263599d7f875201 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Get all files and folders in a directory (recurse, and map over) | |
Get-ChildItem -Recurse | Select-Object FullName | |
# ^, but directories only | |
Get-ChildItem -Recurse | ?{ $_.PSIsContainer } | Select-Object FullName |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment