PowerTip: View Directory List as Tree by Using PowerShell

Doctor Scripto

Summary:  Learn how to view a directory in a tree view by using Windows PowerShell.

Hey, Scripting Guy! Question How can I use Windows PowerShell to easily view a directory list as a tree view?

Hey, Scripting Guy! Answer 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.

0 comments

Discussion is closed.

Feedback usabilla icon