Hi all,
I have a bit of a curly one. I want to pull in some custom registry info, but I'm a bit stumped. There are plenty of great guides floating around on how to get registry information via editing configuration.mof and sms_def.mof. The problem I have is that every single example I can find so far is for a staticly named value.
For instance from the guide at http://blog.coretech.dk/kea/how-to-get-registry-information-into-hardware-inventory/
#pragma deleteclass("IE", NOFAIL)
[DYNPROPS]
Class IE
{
[key] string KeyName;
String Version;
};
[DYNPROPS]
Instance of IE
{
keyname="IE.version";
[PropertyContext("Local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Internet Explorer|Version"),Dynamic,Provider("RegPropProv")] Version;
}
Now this assumes that information is in a value called "Version", in my case I need to get the name of the value, where the actual value name (not just it's contents) is
dynamic. Can someone point in the right direction? Is this even possible?