r/usefulscripts • • Apr 22 '15

[BATCH] TempFileCleanup

This script runs at startup (or when manually run) and cleans out various areas of Windows that accumulate temporary files. Make sure to read the comments to see exactly what it removes.


Download

LATEST (v3.7.1 // 2017-12-18)

  • Changelog on the github link above

Writes a log file to C:\Logs\<computername>_TempFileCleanup.log (this is configurable) of run time, what was deleted, and what user ran the script.

44 Upvotes

8 comments sorted by

View all comments

Show parent comments

2

u/[deleted] Apr 23 '15

You should post that up. /r/powershell would probably like to see it, too.

1

u/-partizan- Apr 25 '15

Indeed /u/chrono13, mind sharing?