Quantcast
Channel: Configuration Manager 2012 - Security, Updates and Compliance forum
Viewing all articles
Browse latest Browse all 6382

Using the Invoke-WsusServerCleanup cmdlet to clean out obsolete updates in WSUS on my SUP.

$
0
0

Is there a way to know what the progress is when I run the following command on my SUP?

Get-WsusServer | Invoke-WsusServerCleanup –CleanupObsoleteUpdates -CleanupUnneededContentFiles -CompressUpdates -DeclineExpiredUpdates -DeclineSupersededUpdates 


When I run it, it just sits there with a blinking cursor which tells me I must have quite a bit of obsolete updates that need to get cleaned out.

It has not timed out, but it appears that it is running. 

BTW, it has been running for the last 6 hours. 

I got this from Kent Agerlund's blog post here: http://blog.coretech.dk/kea/house-of-cardsthe-configmgr-software-update-point-and-wsus/

I also ran exec spGetObsoleteUpdatesToCleanup in SSMS on my SUP and it showed that there were over 9,000 obsolete update - YIKES!!

So this probably explains why the command is taking so long to run, but I just would like to know if there is any way I can follow its progress?

Thanks


Viewing all articles
Browse latest Browse all 6382

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>