<?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[Check File Version]]></title><description><![CDATA[<p dir="auto">Hi all,</p>
<p dir="auto">I am going crazy on this. I want to get netxms agent collect the version of a file on a windows box:<br />
this is the wmi query i use: WMI.Query(root\CIMV2,"SELECT Version FROM CIM_Datafile where name = 'C:\\Program Files\\Test Product\Product.exe'",Version)</p>
<p dir="auto">but when i check the log file on the agent i get internal error.<br />
So my questions are:</p>
<ol>
<li>Is this the best way to get the file version or are there better options in netxms?</li>
<li>What is wrong</li>
</ol>
<p dir="auto">any info is welcome. thx in advance</p>
]]></description><link>https://forum.netxms.org/topic/2630/check-file-version</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 12:16:45 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/2630.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 27 Sep 2013 10:15:36 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Check File Version on Sun, 29 Sep 2013 10:03:20 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">It works for me. I've configured DCI like</p>
<p dir="auto">WMI.Query(root\CIMV2,"SELECT Version FROM CIM_Datafile where name = 'C:\\Program Files\\7-Zip\\7z.exe'",Version)</p>
<p dir="auto">and got</p>
<p dir="auto">9.20.0.0</p>
<p dir="auto">as a value. Check that you didn't make any type - in your example one \ character is not doubled, if it is direct copy-paste from your config, most likely it is an issue.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/11400</link><guid isPermaLink="true">https://forum.netxms.org/post/11400</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Sun, 29 Sep 2013 10:03:20 GMT</pubDate></item></channel></rss>