Tag: disk-space

210 script(s) tagged “disk-space”

⚡ PowerShell 5.1+

Get Disk Space Report

Reports free/used disk space for all local fixed drives in a color-coded table, with optional CSV export and a configur…

⚡ PowerShell 5.1+

Find Duplicate Files

Recursively scans a folder tree for duplicate files using size pre-filtering plus SHA256 hashing, with an optional safe…

🖥️ Batch (CMD)

Clean Temp Files

Clears the user and Windows Temp folders plus the Recycle Bin to quickly free up disk space, with a silent mode for sch…

🐍 Python 3.10+

Folder Size Report

Walks a directory tree and prints the largest subfolders and files with human-readable sizes, a scriptable WinDirStat a…

🐍 Python 3.10+

Clean Up IIS log files (Python)

Reports the size of IIS log files and optionally clears it out. Dry-run by default.

🐍 Python 3.10+

Backup Physical Disk Drives to JSON (Python)

Snapshots Physical Disk Drives (Win32_DiskDrive) to a timestamped JSON file for later comparison or auditing.

⚡ PowerShell 5.1+

Get The Microsoft Teams cache Size Report

Reports how much disk space the Microsoft Teams cache is currently using, read-only (no deletion).

🧬 WQL / PowerShell

Win32_LogicalDisk: Finding Associated Objects (WQL ASSOCIATORS OF)

Demonstrates Get-CimAssociatedInstance, the modern CIM equivalent of WQL's ASSOCIATORS OF syntax, against a Win32_Logic…

🟣 C# / .NET 6+

Get The user CrashDumps folder Size Report (C#)

Recursively sums the size of the user CrashDumps folder, read-only (no deletion).

📄 JScript (WSH)

Get Physical Disk Drives Report (JScript)

Queries Win32_DiskDrive via WMI and prints Physical Disk Drives to the console — JScript, VBScript's WSH sibling langua…

🟣 C# / .NET 6+

Get Physical Disk Drives Report (C#)

Queries Win32_DiskDrive via WMI (System.Management) and prints Physical Disk Drives to the console.

📊 VBA (Excel)

Report Size of Microsoft Edge's browser cache (VBA)

Reports the total size and top-level file count of Microsoft Edge's browser cache using Scripting.FileSystemObject, str…