{"id":205,"date":"2016-08-31T18:40:52","date_gmt":"2016-08-31T18:40:52","guid":{"rendered":"http:\/\/xuan.guru\/?p=205"},"modified":"2016-08-31T18:40:52","modified_gmt":"2016-08-31T18:40:52","slug":"how-to-delete-declined-windows-update-service-updates","status":"publish","type":"post","link":"https:\/\/xuan.co.uk\/?p=205","title":{"rendered":"How to delete declined windows update service updates"},"content":{"rendered":"<p>You can&#8217;t this in the GUI, use powershell<\/p>\n<p>[reflection.assembly]::LoadWithPartialName(&#8220;Microsoft.UpdateServices.Administration&#8221;)<\/p>\n<p>$wsus = [Microsoft.UpdateServices.Administration.AdminProxy]::GetUpdateServer();<\/p>\n<p>$wsus.GetUpdates() | Where {$_.IsDeclined -eq $true} | ForEach-Object {$wsus.DeleteUpdate($_.Id.UpdateId.ToString()); Write-Host $_.Title removed }<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You can&#8217;t this in the GUI, use powershell [reflection.assembly]::LoadWithPartialName(&#8220;Microsoft.UpdateServices.Administration&#8221;) $wsus = [Microsoft.UpdateServices.Administration.AdminProxy]::GetUpdateServer(); $wsus.GetUpdates() | Where {$_.IsDeclined -eq $true} | ForEach-Object {$wsus.DeleteUpdate($_.Id.UpdateId.ToString()); Write-Host $_.Title removed }<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-205","post","type-post","status-publish","format-standard","hentry","category-tech-tips"],"_links":{"self":[{"href":"https:\/\/xuan.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/205","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xuan.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xuan.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xuan.co.uk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/xuan.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=205"}],"version-history":[{"count":1,"href":"https:\/\/xuan.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/205\/revisions"}],"predecessor-version":[{"id":207,"href":"https:\/\/xuan.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/205\/revisions\/207"}],"wp:attachment":[{"href":"https:\/\/xuan.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=205"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xuan.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=205"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xuan.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=205"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}