You can easily use PowerShell to delete files that are older than x minutes/hours/days.  This is useful if you have a temporary folder which you would like to regularly clear down.  Please see the below examples:

Delete files older than x minutes

Delete files older than x hours

Delete files older than x days

 

LEAVE A REPLY

Please enter your comment!
Please enter your name here