Within Configuration Manager (ConfigMgr), you can use Discovery Methods to get data about your devices. When a device is successfully discovered it creates a Data Discovery Records (DDRs) file. The DDR then stores all the information about the Device in your ConfigMgr database. DDRs can be useful for adding extra data which you wish to store for a CI, for example, warranty start/end dates.

I’ve been researching ways of adding custom DDRs using the Client Messaging SDK. For this research, I am using ConfigMgr Current Branch. After scavenging the web and reading the SDK documentation; there were some useful articles though most were old and still using legacy methods (VB and ResGen DLLs for example).

I found an excellent post from back in 2014 from Adam Meltzer. Adam shows how to creates a DDR using Powershell (Link Here). The DDR creation method required the resource name of a device. However, I needed to create a DDR using the SMS Unique Identifier instead.

To achieve this, the first step is to download the following:
Microsoft.ConfigurationManagement.Messaging.dll.

Where can I get the Microsoft.ConfigurationManagement.Messaging.dll file?