Tag: disk-space
210 script(s) tagged “disk-space”
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โฆ
Clean Up The Windows Prefetch folder
Reports the size of the Windows Prefetch folder and optionally clears it out. Dry-run by default.
Clean Up The Office document cache (Batch)
Clears the Office document cache after a confirmation prompt, with a /silent mode for scheduled tasks.
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).
Get The npm cache Size Report (Python)
Recursively sums the size of the npm cache, read-only (no deletion).
Get Logical Disks Report (JScript)
Queries Win32_LogicalDisk via WMI and prints Logical Disks to the console โ JScript, VBScript's WSH sibling language.
Get The Windows Update download cache Size Report (C#)
Recursively sums the size of the Windows Update download cache, read-only (no deletion).
Get The Microsoft Teams cache Size Report (VBScript)
Recursively sums the size of the Microsoft Teams cache, read-only (no deletion).
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.
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.
Get IIS log files Size Report (Python)
Recursively sums the size of IIS log files, read-only (no deletion).
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โฆ