Custom Inventory Rule - Retrieve DWORD value
I am having some issues with a Custom Inventory Rule and could use some extra set of eyes on what I have so far as it is not returning any values. I've also looked at several articles in here, but still not clear to me as to what I'm doing wrong.
So far, I have the following created:
- Created CIR under the "Software" section containing the inventory rule limited to Windows 10 only (Searching for a DWORD registry value)
- Created a manual label
- Created a Smart Label targeting a specific machine (I see the label applied to the system)
However, no values are showing up in the Custom Inventory Field. I have also tried creating spaces between the registry value as well as the type (text) as well as tried changing the type to upper case and NUMBER with no avail.
In addition, I was wondering if there is 1) a way to test this script outside of KACE (i.e. powershell, command line, etc.) and 2) what logs can I view that shows if the CIR is attempting execution and is passing/failing? Can those logs be collected using "Choose Action" --> "Upload Agent Files" within that systems inventory record? Thanks in advance for any assistance.
Use (HKLM64\Software.... to target a 64 bit device