Tag: disk-space

210 script(s) tagged “disk-space”

πŸ“œ VBScript (WSH)

Get Microsoft Edge's browser cache Size Report (VBScript)

Recursively sums the size of Microsoft Edge's browser cache, read-only (no deletion).

⚑ PowerShell 5.1+

Get The Windows Internet cache (INetCache) Size Report

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

🧬 WQL / PowerShell

Win32_LogicalDisk: Filtering Logical Disks (WQL WHERE)

Shows the WQL WHERE clause syntax against Win32_LogicalDisk, starting from a LIKE '%' wildcard you customize with a rea…

πŸ“Š VBA (Excel)

Report Size of The pip download cache (VBA)

Reports the total size and top-level file count of the pip download cache using Scripting.FileSystemObject, straight fr…

⚑ PowerShell 5.1+

Clean Up The Explorer thumbnail cache

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

🟣 C# / .NET 6+

Get Google Chrome's browser cache Size Report (C#)

Recursively sums the size of Google Chrome's browser cache, read-only (no deletion).

🐍 Python 3.10+

Clean Up The VS Code cache folder (Python)

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

⚑ PowerShell 5.1+

Get The system-wide Windows Temp folder Size Report

Reports how much disk space the system-wide Windows Temp folder is currently using, read-only (no deletion).

🧬 WQL / PowerShell

Win32_DiskDrive: Sorting Physical Disk Drives (WQL has no ORDER BY)

WQL has no ORDER BY clause β€” this shows the standard workaround of piping Get-CimInstance results through Sort-Object o…

🐍 Python 3.10+

Get The Windows Update download cache Size Report (Python)

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

πŸ–₯️ Batch (CMD)

Clean Up The Windows Prefetch folder (Batch)

Clears the Windows Prefetch folder after a confirmation prompt, with a /silent mode for scheduled tasks.

⚑ PowerShell 5.1+

Backup Physical Disk Drives List to JSON

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