A modern replacement for the tree
command that lets you explore directory structures and Windows Registry with detailed information and advanced filtering possibilities.
🎥 File System Explorer Demo
https://github.com/user-attachments/assets/3fbe8eb4-0844-4df8-925a-0608e391be17🗂️ Registry Explorer Demo
https://github.com/user-attachments/assets/f95b4eb9-72ce-48db-aeca-0b16e81b14bfPowerTree is a comprehensive tree visualization tool that provides two main capabilities:
- File System Explorer: A modern alternative to the traditional
tree
command with advanced filtering, sorting, and display options - Registry Explorer: Windows Registry visualization in tree format (Windows only)
Unlike standard tree commands, PowerTree offers detailed information display, multiple sorting options, filtering capabilities, and customizable configuration.
From PowerShell Gallery:
Install-Module PowerTree
A modern replacement for the tree command that lets you explore directory structures with detailed information and advanced filtering possibilities. Explore all available parameters and advanced features in the full documentation.
Shows Windows Registry keys and values in tree format. Displays both registry keys and their values, making it easy to see the structure of any registry hive or specific key. Explore all available parameters and advanced features in the full documentation.
Filtered Registry View
PowerRegistry HKLM:\SOFTWARE\ -DisplayItemCounts -Exclude "*data*" -l 2 -UseRegistryDataTypes
Opens the configuration file to change default settings. Set which directories to always exclude, default sorting, and tree display style. Explore all available parameters and advanced features in the full documentation.
# Find large files consuming disk space
ptree -DisplaySize -SortBySize -Descending -FileSizeMinimum 100MB
# Document directory structure for compliance
ptree -DisplayAll -OutFile system_audit.txt
# Audit installed software and versions
Show-PowerTreeRegistry -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall" -Depth 2 -OutFile "output.txt"
# Exclude build artifacts and show only source files
ptree -ExcludeDirectories bin,obj,node_modules -IncludeExtensions cs,js,ts
# Check project structure and sizes
ptree -DisplaySize -ExcludeDirectories .git,.vs -Depth 3
# Export project documentation
ptree -IncludeExtensions md,txt -OutFile project_docs.txt
For detailed parameter references and advanced usage examples:
This project is licensed under the MIT License - see the LICENSE file for details.
Created by Bart Spaans
Contributions are welcome! Please feel free to submit a Pull Request.
- Git integration (automatic .gitignore exclusion)
- Export function signatures from JavaScript/TypeScript files
- Access Control List (ACL) display options
- Enhanced registry data type visualization