Clear temp files from Windows server

A simple PowerShell script to clear C:\ disk space. 

This script will be useful before start patching the windows servers since at the time of patching lots of Hotfixes will be copied to the server for execution and if the server is already running out of space, then patching will fail.

Scroll to Top