Skip to content

Instantly share code, notes, and snippets.

@craigtp
Last active April 7, 2021 22:44
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