Good morning
We are trying to extend hardware inventory via client settings
In our environment we have Configuration Manager CB 2107
WE are trying to extend Hardware Inventory via client settings
WE added the code below to configuration.mof
pragma namespace ("\\\.\\root\\cimv2")
pragma deleteclass("CurrentVersion", NOFAIL)
[DYNPROPS]
Class CurrentVersion
{
[key] string KeyName;
Uint32 UBR;
};
[DYNPROPS]
Instance of CurrentVersion
{
KeyName="OperatingSystemUBR";
[PropertyContext("Local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion|UBR"),Dynamic,Provider("RegPropProv")] UBR;
Added the class to client configuration
[ SMS_Report (TRUE),
SMS_Group_Name ("OperatingSystemUBR"),
SMS_Class_ID ("MICROSOFT|OPERATINGSYSTEMUBR|1.0"),
Namespace ("root\\\\cimv2") ]
class OperatingSystemUBR : SMS_Class_Template
{
[ SMS_Report (TRUE), key ]
String KeyName;
[ SMS_Report (TRUE) ]
UInt32 UBR;
};
The device with correct hardware inventory is the reference computer (for testing). It seems that the configuration.mof wont replicate correctly.
The view within the DB is correctly formatted. There is only one row indeed.
Everything seems to work fine but the inventory. The inventory log file process the information correctly
Is there another step we are missing?
Thanks for the reply