While working on the previous post on exploring Discovery methods with PowerShell I came across this awesome post on creating custom DDRs with PowerShell in ConfigMgr07. http://marcusoh.blogspot.in/2010/10/sccm-custom-data-discovery-records-ddrs.html The above post explains how to create custom DDRs using ConfigMgr SDK for ConfigMgr 07. So I got tempted to immediately try it out in my ConfigMgr12 environment and found out that there exists another cool way shown by Adam Meltzer (using C#) in his blog to create DDRs in ConfigMgr12. So in this post will try to cover : Create DDRs using COM Interface (DLL used : smsrgenctl . dll ) Create DDRs using the new DiscoveryDataRecordFile Object Interface (DLL used: Microsoft.ConfigurationManagement.Messaging.dll ) Note : Both the above DLLs are part of ConfigMgr 2012 SDK. Create DDRs using COM Interface (DLL used : smsrgenctl.dll) Tried loading the smsrgenctl.dll from PowerShell using Add-Type , System...
Infra + Dev's ramblings