<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[WMI methods/StdRegProv]]></title><description><![CDATA[<p dir="auto">Hi there,</p>
<p dir="auto">How can you work with a particular method that is available through WMI, for example.</p>
<p dir="auto">Under the WMI tree of /root/default:StdRegProv is available, and it has methods such as GetBinaryValue.  In my case, the value i need would be under HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion as Data under "DigitalProductId". How would you be able to construct a query using the WMIQuery feature in this type of situation ?</p>
<p dir="auto">Secondary question is, would it be possible gather all variables under a particular set of data as oppose to being very picky and input the variable name?  In other words, as with sql queries, why can't i just say WMIQuery(/root/CIMv2,SELECT * from Win32_UserAccount) and parse data accordingly, as oppose to WMIQuery(/root/CIMv2,SELECT * from Win32_UserAccount, <strong>Name</strong>).  Is there an operator such as "ALL" or "*" for the the substitution of the NAME that can be used to a similar effect ?</p>
<p dir="auto">I apologize if I am asking something that may be inherent in documentation but I haven't been able to locate it thus I figured I ask here.</p>
<p dir="auto">Thanks<br />
Samy</p>
]]></description><link>https://forum.netxms.org/topic/1588/wmi-methods-stdregprov</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 13:27:30 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/1588.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 06 Feb 2012 18:37:47 GMT</pubDate><ttl>60</ttl></channel></rss>