Automatic WSUS Server Cleanup

 

Get-WsusServer -Name glw-ccm-01 -PortNumber 8530 | Invoke-WsusServerCleanup -CleanupObsoleteComputers -CleanupObsoleteUpdates -CompressUpdates -CleanupUnneededContentFile -DeclineExpiredUpdates -DeclineSupersededUpdates | Out-File C:\Scripts\clean_wsus.log

 

 

Pages: 1 | 2 | Single Page

2 comments

  1. Great tip! Thank you. I was looking for some way to automate this and somehow google never pointed me to this cmdlet.

    Reply

Leave a Reply

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