Windows Cleanup

#Clean Up the WinSxS Folder
Dism.exe /online /Cleanup-Image /StartComponentCleanup

#Clean Up C:\Temp Folder
del c:\temp -Recurse -Force

#Cleanup Event Log
wevtutil el | Foreach-Object {wevtutil cl “$_”}

Leave a Reply

Your email address will not be published. Required fields are marked *