Learn about Windows PowerShell
Summary: Learn how to view a directory in a tree view by using Windows PowerShell.
How can I use Windows PowerShell to easily view a directory list as a tree view?
Use the Show-Tree cmdlet from the PowerShell Community Extension Project:
Show-Tree e:\data –depth 2
Note For information about obtaining and installiing the free PSCX modules, see these Hey, Scripting Guy! Blog posts.
If simply a tree is needed, the tree.exe can be used as well. This is not a PowerShell way though.