Using PowerShell to Delete Files Not Written to in ‘X’ Days
If you have ever had any type of program or application that keeps logs or fouls up the \temp\ directory in your system you know the frustration that comes from wasted disk space with old, unused files. Luckily, you can create a very basic PowerShell script to check a given folder and delete files that are older than a set number of days.
Click Here To Continue Reading …
