Last active
April 7, 2021 22:44
-
-
Save craigtp/e1aedbca2d1b59b47f11 to your computer and use it in GitHub Desktop.
Clean Up Temporary ASP.NET Files with Powershell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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