This Script is used to delete the Cache Files if the Size exceeds the limit 2.5 GB.
Note:
This script could be used as an auto-remediation procedure for the below custom monitoring script.
https://scripts.itarian.com/frontend/web/topic/script-to-monitor-squid-cache-file-size
Run as System User
Tested in Windows 8 Machine