Free PowerShell Script: Windows Temp File + Recycle Bin Cleanup
$0+
$0+
https://schema.org/InStock
usd
Austin T. Lowe
This free PowerShell script automates disk cleanup tasks across a Windows system, including:
- Clearing temp folders
- Deleting files in the Downloads folder
- Emptying the Recycle Bin
Perfect for:
- Sysadmins managing multiple machines
- IT pros performing workstation prep or decommissioning
- Techs looking for quick wins in endpoint hygiene
What’s Included:
-
Clean-DiskTempFiles.ps1
: Fully commented script with reusable logic -
README.md
: Includes sample output and usage instructions
Compatible with Windows 10, 11, and Server 2019/2022
Bonus:
Want the full pack with 6+ scripts (updates, defrag, logging, and more)?
Check out the full Windows Maintenance PowerShell Script Pack
A free PowerShell script to clean up Windows temp files, Downloads, and the Recycle Bin — perfect for sysadmins and IT pros looking to automate basic maintenance.
Size
1.99 KB
Add to wishlist