Tag: disk-space

210 script(s) tagged “disk-space”

🟣 C# / .NET 6+

Backup Logical Disks to JSON (C#)

Snapshots Logical Disks (Win32_LogicalDisk) to a timestamped JSON file via System.Management and System.Text.Json.

⚑ PowerShell 5.1+

Get The NuGet packages cache Size Report

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

🐍 Python 3.10+

Get The system-wide Windows Temp folder Size Report (Python)

Recursively sums the size of the system-wide Windows Temp folder, read-only (no deletion).

⚑ PowerShell 5.1+

Get The Windows Update download cache Size Report

Reports how much disk space the Windows Update download cache is currently using, read-only (no deletion).

🟣 C# / .NET 6+

Get Logical Disks Report (C#)

Queries Win32_LogicalDisk via WMI (System.Management) and prints Logical Disks to the console.

🐍 Python 3.10+

Backup Logical Disks to JSON (Python)

Snapshots Logical Disks (Win32_LogicalDisk) to a timestamped JSON file for later comparison or auditing.

πŸ“œ VBScript (WSH)

Clean Up IIS log files (VBScript)

Reports the size of IIS log files and deletes its contents after a confirmation prompt.

🐍 Python 3.10+

Clean Up The Microsoft Teams cache (Python)

Reports the size of the Microsoft Teams cache and optionally clears it out. Dry-run by default.

πŸ“œ VBScript (WSH)

Clean Up The NuGet packages cache (VBScript)

Reports the size of the NuGet packages cache and deletes its contents after a confirmation prompt.

πŸ“œ VBScript (WSH)

Get Stuck print spooler files Size Report (VBScript)

Recursively sums the size of stuck print spooler files, read-only (no deletion).

πŸ“Š VBA (Excel)

Report Size of The Explorer thumbnail cache (VBA)

Reports the total size and top-level file count of the Explorer thumbnail cache using Scripting.FileSystemObject, strai…

πŸ“œ VBScript (WSH)

Get The user CrashDumps folder Size Report (VBScript)

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