LabTech Plugin: Disk Tree
Posted on October 6, 2015
This is the plugin most voted for in the poll (way too long ago). But it’s now here and available!
What is it?
Enter a folder to scan recursively and you’ll receive a tree style view of the files and folders for that folder. You can navigate through those folders to see what’s eating up space and take action directly. You can right-click a folder or file and delete it (works recursively for folders), copy the path to your clipboard, view file/folder properties, and export the tree to an HTML file for sharing or later reference.
On the right side is the top 100 files in the folder that you scanned. This allows you to see the biggest files taking up the most space. You can take the same actions as noted above – delete, copy path, file properties, as well as exporting the list.
How does it work?
This plugin uses a PowerShell script created by James Weakley. It’s been heavily modified to reduce scan time and output information, but the basic idea is still the same. Props for his work on that script and sharing it! Press the ‘Start Scan’ button and wait a bit. The script is downloaded to the agent, executed, and the results are parsed in a tree view so that you can use them. Larger folders will obviously take more time to complete.