I was rebuilding my work's Windows Server Update Services (WSUS) server the other day, and while configuring it I thought about how nice it would be to automate the cleanup process. You know, decline superseded updates, decline obsolete updates etc.
Normally one would have to do this manually by running the Server Cleanup Wizard, but who has time for that?
Well SpiceWorks community member Wouter-Trust created an awesome PowerShell script that works like a charm! You can find his post here and you can download his script here.
I have my script running once a week to free up disk space, and generally optimize our patch deployment process!
Do you have a script that does this? Or perhaps another tool? What do you use to keep WSUS clean on your network? Let us know in the comments!