Other Configuration Manager-related features and issues
Hi, @Lorin Davis
Thank you for posting in Microsoft Q&A forum.
- It is safe to delete declined updates as clients will not scan for declined updates.
- Removing declined updates will not have any impact on the WSUS database.
- Deleting declined updates can improve WSUS performance.
I always run the PowerShell command as administrator to remove the declined updates:
[reflection.assembly]::LoadWithPartialName("Microsoft.UpdateServices.Administration")
$wsus = [Microsoft.UpdateServices.Administration.AdminProxy]::GetUpdateServer();
$declined=$wsus.GetUpdates() | Where {$_.IsDeclined -eq $true}
$declined| ForEach-Object {$wsus.DeleteUpdate($_.Id.UpdateId.ToString()); Write-Host $_.Title removed }
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Add comment".