Tag: disk-space

210 script(s) tagged “disk-space”

🧬 WQL / PowerShell

Win32_DiskDrive: Physical Disk Drives (WQL)

A minimal WQL reference query against Win32_DiskDrive β€” the raw SELECT statement plus a one-line runner, useful for lea…

πŸ–₯️ Batch (CMD)

Clean Up IIS log files (Batch)

Clears IIS log files after a confirmation prompt, with a /silent mode for scheduled tasks.

🐍 Python 3.10+

Get The NuGet packages cache Size Report (Python)

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

🟣 C# / .NET 6+

Get The Windows Prefetch folder Size Report (C#)

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

⚑ PowerShell 5.1+

Get The Office document cache Size Report

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

🐍 Python 3.10+

Get The Windows Internet cache (INetCache) Size Report (Python)

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

πŸ“œ VBScript (WSH)

Clean Up The VS Code cache folder (VBScript)

Reports the size of the VS Code cache folder and deletes its contents after a confirmation prompt.

🐍 Python 3.10+

Clean Up The Office document cache (Python)

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

⚑ PowerShell 5.1+

Clean Up The Office document cache

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

🐍 Python 3.10+

Clean Up The Windows Prefetch folder (Python)

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

πŸ“Š VBA (Excel)

Report Size of The npm cache (VBA)

Reports the total size and top-level file count of the npm cache using Scripting.FileSystemObject, straight from Excel …

🐍 Python 3.10+

Clean Up Windows Error Reporting files (Python)

Reports the size of Windows Error Reporting files and optionally clears it out. Dry-run by default.