Tag: disk-space

210 script(s) tagged “disk-space”

๐Ÿ“œ VBScript (WSH)

Get Logical Disks Report to File (VBScript)

Queries Win32_LogicalDisk via WMI and writes Logical Disks to a timestamped text file, handy for scheduled logon/logoffโ€ฆ

โšก PowerShell 5.1+

Clean Up The Windows Prefetch folder

Reports the size of the Windows Prefetch folder and optionally clears it out. Dry-run by default.

๐Ÿ–ฅ๏ธ Batch (CMD)

Clean Up The Office document cache (Batch)

Clears the Office document cache after a confirmation prompt, with a /silent mode for scheduled tasks.

โšก PowerShell 5.1+

Get Google Chrome's browser cache Size Report

Reports how much disk space Google Chrome's browser cache is currently using, read-only (no deletion).

๐Ÿ Python 3.10+

Get The npm cache Size Report (Python)

Recursively sums the size of the npm cache, read-only (no deletion).

๐Ÿ“„ JScript (WSH)

Get Logical Disks Report (JScript)

Queries Win32_LogicalDisk via WMI and prints Logical Disks to the console โ€” JScript, VBScript's WSH sibling language.

๐ŸŸฃ C# / .NET 6+

Get The Windows Update download cache Size Report (C#)

Recursively sums the size of the Windows Update download cache, read-only (no deletion).

๐Ÿ“œ VBScript (WSH)

Get The Microsoft Teams cache Size Report (VBScript)

Recursively sums the size of the Microsoft Teams cache, read-only (no deletion).

โšก PowerShell 5.1+

Clean Up The VS Code cache folder

Reports the size of the VS Code cache folder and optionally clears it out. Dry-run by default.

๐Ÿ–ฅ๏ธ Batch (CMD)

Clean Up The current user's Temp folder (Batch)

Clears the current user's Temp folder after a confirmation prompt, with a /silent mode for scheduled tasks.

๐Ÿ Python 3.10+

Get IIS log files Size Report (Python)

Recursively sums the size of IIS log files, read-only (no deletion).

โšก PowerShell 5.1+

Watch Logical Disks for Changes

Polls Win32_LogicalDisk on an interval and prints a line whenever the Logical Disks count changes โ€” a lightweight way tโ€ฆ