{"id":1845,"date":"2015-06-12T15:40:02","date_gmt":"2015-06-12T13:40:02","guid":{"rendered":"https:\/\/sccmfaq.wordpress.com\/?p=1845"},"modified":"2015-06-12T15:40:02","modified_gmt":"2015-06-12T13:40:02","slug":"quickpost-powershell-one-liner-to-determine-incremental-update-collections","status":"publish","type":"post","link":"https:\/\/blog.hosebei.ch\/?p=1845","title":{"rendered":"Quickpost &#8211; Powershell One-Liner to determine Incremental Update collections"},"content":{"rendered":"<p>Hi, here&#8217;s Martin with a tiny Powershell One-Liner to measure, how many collection are in System Center 2012 Configuration Manager configured with the &#8220;Use incremental updates for this collection&#8221; option.<\/p>\n<p>Just use:<br \/>\n<code>@(Get-CMDeviceCollection | where{$_.refreshtype -eq 4 -or $_.refreshtype -eq 6}).count<\/code><\/p>\n<p>Hope this helps<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi, here&#8217;s Martin with a tiny Powershell One-Liner to measure, how many collection are in System Center 2012 Configuration Manager configured with the &#8220;Use incremental updates for this collection&#8221; option. Just use: @(Get-CMDeviceCollection | where{$_.refreshtype -eq 4 -or $_.refreshtype -eq 6}).count Hope this helps<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13,19,35],"tags":[],"class_list":["post-1845","post","type-post","status-publish","format-standard","hentry","category-collection","category-general","category-sccm-2012"],"_links":{"self":[{"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=\/wp\/v2\/posts\/1845","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=1845"}],"version-history":[{"count":0,"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=\/wp\/v2\/posts\/1845\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1845"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1845"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1845"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}