powershell and clean iis
Sometimes it is necessary to remove IIS temp files from windows directory
So I have made this following script in powershell
What it does:
restarts iis ( run as admin in Windows 7)
Cleans temporary folders from
$windir + “\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files”
$windir + “\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files”
Enjoy !(iis reset)
Leave a Reply