Quantcast
Channel: Symantec Connect - Client Management Suite - Discussions
Viewing all articles
Browse latest Browse all 2021

Anyone have an example of a custom inv script to pull a registry hive?

$
0
0
I need a solution

I am looking for a script that will pull a registry hive

example

HKLM\Software\MyKey

Where it has multiple value's and each value has some data

I want it to pull everythign in the hive into a custom data clasee

so that I will end up with my data class showing 2 colums and rows

 

so basically from looking at a reg export this is what I have and would want in the database where mykey is the class

[HKEY_LOCAL_MACHINE\SOFTWARE\MyKey]
"ImageCutDate"="5/11/11"
"ImageVersion"="Windows 7 Pro SP1"
"Win7Revision"="2"
"Win7"="1"
"SP1"="True"
"Brand"="Lenovo"
"Model"="T420s"
"Type"="Laptop"

 

I see examples of pulling just 1 registry key or targetted, but the values in this reg key vary and could be 10 per machine or 100 per machine.

 


Viewing all articles
Browse latest Browse all 2021

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>