Tree Like Directory Structure In PowerShell

One of those things that I may not require too often but when I do, it has to be nicely formatted and give me precise results.

In PowerShell, you can use the tree command to print a tree structure, starting from the current directory to it's descendants at deepest levels.

> cd 'C:\Python27\tcl\tcl8.5'
> tree
│ ├───Argentina
│ ├───Indiana
│ ├───Kentucky
│ └───North_Dakota

You can also specify a custom path as an argument.

> tree 'C:\Program Files'

Make sure you use a font that supports lot of glyphs to see the lines.