Skip to content

Instantly share code, notes, and snippets.

@craigtp
Last active April 7, 2021 22:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save craigtp/e1aedbca2d1b59b47f11 to your computer and use it in GitHub Desktop.
Save craigtp/e1aedbca2d1b59b47f11 to your computer and use it in GitHub Desktop.
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