WSUS Cleanup Script in Powershell

By | December 13, 2011

I created a script to run the WSUS Cleanup automagically but found this from a freind on SpiceWorks.

It’s a PowerShell script that works crazy well and is shorter then mine. The only change would be to line 7 where you need to type in your “SERVERNAME.DOMAIN.DOMAINSUFFUX”

Then you can run it as a scheduled task from a batch file or call powershell.exe and then the path to the script.





Leave a Reply

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