Snippets

Craig Phillips Clean Up Temporary ASP.NET Files with Powershell

Created by Craig Phillips last modified
1
2
3
4
# Run this as Adminstrator
net stop w3svc
Get-ChildItem "C:\Windows\Microsoft.NET\Framework*\v*\Temporary ASP.NET Files" -Recurse | Remove-Item -Recurse -Force
net start w3svc

Comments (0)