Ways to traverse directories in PowerShell, just like the old-skool “dir /s” command, with a little PowerShell spice on top.
1 2 3 4 |
Get-ChildItem -Recurse Get-ChildItem -Recurse | Select-Object Name Get-ChildItem -Filter *.png -Recurse Get-ChildItem -Include *.txt, *.png -Recurse | Select-Object FullName |