How to manage your Distribution Points with Collections

Jonathan LefebvreSCCMLeave a Comment

Do you have a high number of distribution point in your SCCM environment? Managing large SCCM environment with many Distribution Point or Pull Distribution Point is not an easy task. We’ve done a great post on 8 ways to monitor your Distribution Point, it was most related to the console monitoring and reports. We also provided a report to manage content on your Distribution Point. Additionally, you can use collections to regroup Distribution Point based on specific information. The advantage of using collections is that an action that can be taken based on the membership. (compliance settings, applications, etc.)

This post will explain various tips to improve your day to day SCCM Distribution Point Management.

Collection query to get all Distribution Points

First of all, we will create a collection to keep track of computers acting as Distribution Point or to target members of a Distribution Points Group.

  • Create a new collection and use this query to include all Distribution Points :
select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client
 from SMS_R_System 
where SMS_R_System.ResourceNames in (Select ServerName FROM SMS_DistributionPointInfo)

Based on that collection, you can create any check you want to find missing Distribution Point by using the Include / Exclude feature of collection membership.

For example, all computers having a name ending with P2 should be a Distribution Point in my environment. To find them, we will create a combination of queries :

  • Create a collection INV – Distribution Point
    • Use the query above as those computers will have a DP installed on
  • Create a collection that regroup all computers ending with the name P2
    • PROD – Distribution Point (This collection regroups all computers that should be DP)
  • Create a collection to find computers ending by P2 without DP
    • INV – P2 without DP
  • Include the first collection PROD – Distribution Point created at the beginning of the post to include all Distribution Point
  • Exclude INV – Distribution Point

manageDP (5)

You now have a collection that lists the distribution points dedicated servers without a distribution point role installed.

Create collection based on Distribution Point group members

Now that we have targeted servers and DP roles, you can use them to apply a different search criteria. It can be useful to validate what are the members of Distribution Point groups based on other requirement. For example, we want to prevent having English content on Distribution Point that only require French content.

To do it, we created Distribution Point groups and added Distribution Point to those groups based on the language. In order to create collection queries, we need the Distribution Point GroupID. It can be found directly within the console :

  • Open the SCCM Console
  • Go to Administration / Distribution Points / Distribution point Groups
  • Right-Click the space under the Search bar and add the GroupID column

SCCM Distribution Point Management

Create a new collections for each GroupID and use this query :

Replace GroupID value from the query with yours and then you’ll have collections based on DP groups!

select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client 
from SMS_R_System    
where SMS_R_System.ResourceNames in (
Select ServerName
 FROM SMS_DistributionPointInfo 
join SMS_DPGroupMembers on SMS_DistributionPointInfo.NALPath= SMS_DPGroupMembers.DPNALPath  
where GroupID = '{5CCA2803-XXXXXXXXXXXXXXXX-29472F8EBB1F}')

SCCM Distribution Point Management

To validate if the DP has the right packages/OS language hosted on it, use Include/Exclude feature and the limiting collection.

By limiting a collection to English Computer, but we query the French group.

SCCM Distribution Point ManagementWe then know that someone made a mistake and distributed the wrong set of Packages/OS.

This is just an exemple of the possibility you can make using collections based on Distribution Point. Use the comment section to tell us how you manage your DP.

Leave a Reply

Your email address will not be published. Required fields are marked *