

Now that you have your value, you need to get it into your custom data class. StrValue = WShell.RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Manufacturer\Prodcut\Keypath\etc") Set WShell = CreateObject("WScript.Shell")

If you know exactly where your reg key is, you can do something like Now that you have your data class, create your VBscript. Add a string field or whatever and name it something like Serial or SerialNumber.

You can right click the folder and create a new editable data source. We created a "Custom" folder under Inventory to hold our custom data classes to make them easy to identify. Youll want to place it under the Inventory folder most likely. You can do this by going to Settings>All Settings>Notification Server>Resource and Data Class Settings>Data Classes and finding the location you want to put your data class. I usually create a custom data class before I bother too much with writing a vbscript.
