/build/static/layout/Breadcrumb_cap_w.png

[custom inventory]multiple values from one registry key

Hi All,
I`m trying to get infot custom inventory field multi values from one registry key. Data get into that field but on one line. How to make it into separate lines?

My custom inventory rule:
RegistryValueReturn(HKEY_LOCAL_MACHINE\SYSTEM\INTEL\iAMT SCAN DATA, AMTSetupStatus, TEXT)
RegistryValueReturn(HKEY_LOCAL_MACHINE\SYSTEM\INTEL\iAMT SCAN DATA, AMTVersion, TEXT)
RegistryValueReturn(HKEY_LOCAL_MACHINE\SYSTEM\INTEL\iAMT SCAN DATA, HECIVersion, TEXT)
RegistryValueReturn(HKEY_LOCAL_MACHINE\SYSTEM\INTEL\iAMT SCAN DATA, LMSVersion, TEXT)
RegistryValueReturn(HKEY_LOCAL_MACHINE\SYSTEM\INTEL\iAMT SCAN DATA, UUID, TEXT)

And I get custom inventory field as:
1) Intel AMT scan: In process AND 3.2.20 AND 3.2.20.1046 AND 3.0.10.1053 AND 4C4C4544-004C-4710-8056-C3C04F34334A [string]

0 Comments   [ + ] Show comments

Answers (4)

Posted by: GillySpy 12 years ago
7th Degree Black Belt
0
Don't know. sounds like an enhancement. Is this something you will report on? You can manipulate the string in the SQL depending upon the end target. ... e.g. <BR> or \n
Posted by: jverbosk 12 years ago
Red Belt
0
One solution would be to create a separate custom software inventory item for each of the registry keys, so they are listed individually in the Custom Fields section. Would be a few extra steps, but should work fine.

John
Posted by: jverbosk 12 years ago
Red Belt
0
Another idea would be to create a "dummy" registry key with the delimiter you want to use (say " " or " - ") and reference that key in between each of the keys you are targeting.

John
Posted by: rmeyer 12 years ago
Second Degree Blue Belt
0
If I was you then I would make a script that split up the multi value script into seperate reg entries and then do inventory, I dont know if the data changes very offen but you could just run the script at user logon if it does
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ