Thursday, June 25, 2015

Automatically cleanup up WSUS with powershell

Posted By: The Funky Tech Guy - 11:16:00 AM

Share

& Comment




Hey all
So I manage our WSUS and patch management environment at work and one of the recurring maintenance tasks I have to do is delete/remove or cleanup all or any old updates,superseded updates and declined updates. The helps speed up the database as well as free up disk space.
So to do it manually, you open up your WSUS console –>Options –> Server Cleanup Wizard

image

Being able to automate this on a weekly or monthly schedule would be awesome and someone wrote an amazing script for this. You can find the script at the Spiceworks forum Here.
http://community.spiceworks.com/scripts/show/336-wsus-automatic-cleanup-script
All you need to do is change the script to reflect your own environment with things like wsus servername,mail servername,from and to email address etc
Absolutely a great little script.
All credit goes to the author of the script Wouter-Trust

About The Funky Tech Guy

The Funky Tech Guy is a publication/blog that comprises primarily of articals and how tos relating to Information Technology.I have been in the IT industry since 2001 and can easliy say that IT is my passion. The primary focus of this site is to share some of the knowledge and experiences I've gained.

0 comments :

Copyright © 2013 The Funky Tech Guy ™ is a registered trademark.

Designed by Templateism . Built with Blogger Templates .