June 6th, 2014

PowerTip: View Directory List as Tree by Using PowerShell

Doctor Scripto
Scripter

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.

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.