powershell get directory recursive code example Example: list directories recursively powershell Get-ChildItem -Recurse