- ๐ Hi, Iโm @robertkruk
- ๐ Iโm interested in IT Infrastructure and Cloud
- ๐ฑ Iโm currently learning ... surfing
- ๐๏ธ Iโm looking to collaborate on ... tba
- ๐ซ How to reach me ...
robertkruk / temp-drive-cleaner Goto Github PK
View Code? Open in Web Editor NEWScript iterates through all files located on TEMP drive. Checks the file '.LastwriteTime' timestamp, compares it with todays day and writes list of files 'older' than 90 days to txt file with todays date. Based on this list email notifications are sent out to owners of each file with information that old files will be deleted in 14 days time and user should take actions if wants to preserve them.