title: Using WMIC to return hostnames with specific product installed
body: <p>I'm trying to use WMIC to query remote computers to discover which ones have a particular product installed.</p>
  
  <p>For example the query I'm running looks like:</p>
  
  <pre><code>wmic:root\cli&gt;/node:@HOSTNAMES.txt /output:INSTALLS.txt product where "name like 'APPNAME&amp;'" get name,version
  </code></pre>
  
  <p>While this returns the application information I need, it doesn't break it down by host name.</p>
  
  <p>Anyone know if there is there a way to get this information using WMIC or should I try using something else?</p>