<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>WMIC: Leveraging the power of WMI</title><link>http://blogs.technet.com/askperf/archive/2008/04/18/wmic-leveraging-the-power-of-wmi.aspx</link><description>We&amp;#8217;ve covered different pieces of WMI in previous posts, but we have yet to discuss the Windows Management Instrumentation Command-Line (WMIC) in detail.&amp;#160; The WMIC provides administrators easy access to the WMI infrastructure.&amp;#160; Prior to</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: WMIC: Leveraging the power of WMI</title><link>http://blogs.technet.com/askperf/archive/2008/04/18/wmic-leveraging-the-power-of-wmi.aspx#3050627</link><pubDate>Tue, 06 May 2008 01:31:31 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3050627</guid><dc:creator>EDF</dc:creator><description>&lt;p&gt;What advantage does this have over powershell? &amp;nbsp;Both look like you need to be more of a programmer than an admin to get the power out of them, so I don't know which would I should learn.&lt;/p&gt;</description></item><item><title>re: WMIC: Leveraging the power of WMI</title><link>http://blogs.technet.com/askperf/archive/2008/04/18/wmic-leveraging-the-power-of-wmi.aspx#3074730</link><pubDate>Fri, 20 Jun 2008 04:27:22 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3074730</guid><dc:creator>Scott Bateman</dc:creator><description>&lt;p&gt;One major benefit of WMIC over powershell is the ability to look at information on remote machines using the /node: command.&lt;/p&gt;
&lt;p&gt;For a good example of where WMIC is far superior, just try using powershell to check the OS version installed on 3 different machines. &amp;nbsp;You'll find yourself using the powershell WMI methods which are much harder to get to and require a lot more typing than WMIC.&lt;/p&gt;</description></item><item><title>re: WMIC: Leveraging the power of WMI</title><link>http://blogs.technet.com/askperf/archive/2008/04/18/wmic-leveraging-the-power-of-wmi.aspx#3150240</link><pubDate>Mon, 10 Nov 2008 08:44:36 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3150240</guid><dc:creator>ABHIJAY .KS</dc:creator><description>&lt;p&gt;THIS ONE IS OF GREAT HELP FOR ME.&lt;/p&gt;
&lt;p&gt;THANKS &lt;/p&gt;</description></item><item><title>re: WMIC: Leveraging the power of WMI</title><link>http://blogs.technet.com/askperf/archive/2008/04/18/wmic-leveraging-the-power-of-wmi.aspx#3212119</link><pubDate>Thu, 12 Mar 2009 20:22:28 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3212119</guid><dc:creator>Stephen Galbincea</dc:creator><description>&lt;p&gt;I am trying to form a query in WMIC that will return a list of machines that have a particular program installed, such as Windows Search 4. &amp;nbsp;I have a text file that I have created with a list of all the machines on the domain that I am inputting as the nodes, but I am having trouble formulating the query and getting it to output the list of machines to another text file. &amp;nbsp;My goal here is to then take that list of machines and run an uninstall command on just those machines as opposed to running it against all nodes on our network. &amp;nbsp;Any advice is welcome!&lt;/p&gt;</description></item><item><title>re: WMIC: Leveraging the power of WMI</title><link>http://blogs.technet.com/askperf/archive/2008/04/18/wmic-leveraging-the-power-of-wmi.aspx#3294170</link><pubDate>Mon, 16 Nov 2009 18:13:51 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3294170</guid><dc:creator>Timmothy Lester</dc:creator><description>&lt;p&gt;Stephen Galbincea, This is not the place to ask that question.&lt;/p&gt;
&lt;p&gt;Try using something like:&lt;/p&gt;
&lt;p&gt;For /f %%a in (serverlist.txt) do ( &lt;/p&gt;
&lt;p&gt;wmic /node:%%a QFE get /format:list |find /i &amp;quot;program_name&amp;quot;&lt;/p&gt;
&lt;p&gt;IF &amp;nbsp;not errorlevel 1 (echo %servername% has &amp;quot;program_name&amp;quot; installed Greaterthansign greaterthansign List_of_servers_with_program_installed.txt )&lt;/p&gt;
&lt;p&gt;)&lt;/p&gt;</description></item></channel></rss>