How can I identify a clients assigned SMS Distribution Point with VBScript

I need to be able to identify the name of the SMS Distribution Point that is assigned to a client machine. I have VBScripts that can return the Site and Management Point but have been unable to return the DP value.

Clients aren't assigned to a Distribution Point, each time that a client requires access to a SCCM package, it performs a content location request, and the most appropriate distribution point is returned

Clients aren't assigned to a Distribution Point, each time that a client requires access to a SCCM package, it performs a content location request, and the most appropriate distribution point is returned to the client for the package in question.

From memory, distribution points are returned in the following order (given that the package requested is available on the distribution point):

BITS enabled distribution point in same subnet
BITS enabled distribution point in site boundary
SMB enabled distribution point in same subnet
SMB enabled distribution point in site boundary
BITS enabled Distribution point in same ConfigMgr Site (if site boundary is not protected, or advert allows fallback to uprotected DPs)
SMB enabled Distribution point in the same ConfigMgr Site (if site boundary is not protected, or advert allws fallback to unprotected DPs)

As the client may be returned different Distribution Points depending on Package availability and advert configuration, there is no easy way to script what DP a client will use.

0

Featured Post

Do your end users still have the wrong email signature? Do email signature updates bore you or fill you with a sense of dread? You can make this a whole lot easier on yourself by trusting an Exclaimer email signature management solution. Over 50 million users do...so should you!

Over the years I have built up my own little library of code snippets that I refer to when programming or writing a script. Many of these have come from the web or adaptations from snippets I find on the Web. Periodically I add to them when I come…

This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg).
If you're looking for how to monitor bandwidth using netflow or packet s…

This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory.
NOTE: For Outlook 2016 and 2013 perform the exact same steps.
Open a new email: Click the New email button in Outlook.
Start typing the address: …