Skip to content

Instantly share code, notes, and snippets.

View weirdoj's full-sized avatar
💭
I may be slow to respond.

Jimmy Nguyen weirdoj

💭
I may be slow to respond.
View GitHub Profile
@weirdoj
weirdoj / New-WizTreeDiskUsageReport.ps1
Created August 16, 2021 00:48 — forked from SMSAgentSoftware/New-WizTreeDiskUsageReport.ps1
Creates csv and html disk usage reports using WizTree portable
# Script to export html and csv reports of file and directory content on the system drive
# Use to identify large files/directories for disk space cleanup
# Uses WizTree portable to quickly retrieve file and directory sizes from the Master File Table on disk
# Download and extract the WizTree64.exe and place in the same directory as this script
# Set the running location
$RunLocation = $PSScriptRoot
#$RunLocation = "C:\temp"
$TempLocation = "C:\temp"