Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Clean Up Temporary ASP.NET Files with Powershell
# Run this as Administrator
net stop w3svc
Get-ChildItem "C:\Windows\Microsoft.NET\Framework*\v*\Temporary ASP.NET Files" -Recurse | Remove-Item -Recurse -Force
net start w3svc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment