Summary: Use Get-Childitem to provide a printable list of all folders under a path.
I used to use tree.com to get a list of folders on a computer. Is there something close to that in PowerShell? Maybe something I could print?
If you were to use Get-Childitem combined with Select-Object, you could get a pretty clean list. Here’s an example that targets drive c: and all hidden folders. It displays only directories and their full paths.
Get-ChildItem -Path C:\ -Recurse -Directory -Force -ErrorAction SilentlyContinue | Select-Object FullName