Solving WSUS - Removing updates without accepting them
Solving WSUS - Removing updates without accepting them
I have a WSUS running on Windows Server 2016. When I was setting up the WSUS I didn't select what Products and Classifications that I wanted and it downloaded them all(Over 28,000 updates). I currently have almost 4TB of updates stored on my server. I know I can decline updates and then use the Server Cleanup Wizard but then I would have to manually add those updates in the future by downloading them off the Microsoft catalog site. I was wondering if there was a way to delete all the updates and start another Synchronization to redownload only the updates that I have selected in Products and Classification?
If you are a system admin, PowerShell could be useful.
For instance:
https://docs.microsoft.com/en-us/po...ic...ver2019-ps
https://docs.microsoft.com/en-us/po...e-...ver2019-ps
Start by searching online with relevant keywords.
Example result:
https://docs.microsoft.com/en-us/po...ic...ver2019-ps
You should probably refine your search as needed.
If you are a system admin, PowerShell could be useful.
For instance:
https://docs.microsoft.com/en-us/windows...ver2019-ps
https://docs.microsoft.com/en-us/windows...ver2019-ps
Start with searching "powershell get wsus updates" as a basic step.
Adjust your search terms if needed.