{"id":1778,"date":"2015-05-19T10:12:11","date_gmt":"2015-05-19T08:12:11","guid":{"rendered":"https:\/\/sccmfaq.wordpress.com\/?p=1778"},"modified":"2015-05-19T10:12:11","modified_gmt":"2015-05-19T08:12:11","slug":"sccm-2012-r2-remove-old-hotfix-packages-quickpost","status":"publish","type":"post","link":"https:\/\/blog.hosebei.ch\/?p=1778","title":{"rendered":"SCCM 2012 R2 &#8211; Remove old Hotfix packages &#8211; Quickpost"},"content":{"rendered":"<p>Hi Reader, here is martin \ud83d\ude42<br \/>\nhave you installed the new Service Pack for your infrastructure?<br \/>\nWas you lazy as me when you have installed the Hotfixes for R2, you did not delete the old ones?<br \/>\nNow you have more than 10 Packages in you Config Manager Hotfix Folder?<br \/>\nYou don&#8217;t want to delete them manually thorugh the console?<br \/>\nJust use this small PoSh command to remove all Hotfix Packages (mind to delete the Folder on your CM Installation):<\/p>\n<p><code>Get-CMPackage | where{$_.pkgsourcepath -like \"*SMS_S01\\hotfix*\"} | Remove-CMPackage<\/code><!--more--><\/p>\n<p><a href=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2015\/05\/posh_remove-package.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/hosebei.wordpress.com\/wp-content\/uploads\/2015\/05\/posh_remove-package.png?w=300\" alt=\"remove package\" width=\"300\" height=\"141\" class=\"aligncenter size-medium wp-image-1783\" srcset=\"https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2015\/05\/posh_remove-package.png 707w, https:\/\/blog.hosebei.ch\/wp-content\/uploads\/2015\/05\/posh_remove-package-300x141.png 300w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>Hope this helps, Martin<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi Reader, here is martin \ud83d\ude42 have you installed the new Service Pack for your infrastructure? Was you lazy as me when you have installed the Hotfixes for R2, you did not delete the old ones? Now you have more than 10 Packages in you Config Manager Hotfix Folder? You don&#8217;t want to delete them [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[28,35],"tags":[],"class_list":["post-1778","post","type-post","status-publish","format-standard","hentry","category-packaging","category-sccm-2012"],"_links":{"self":[{"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=\/wp\/v2\/posts\/1778","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1778"}],"version-history":[{"count":0,"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=\/wp\/v2\/posts\/1778\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1778"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1778"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1778"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}