<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DZone Snippets: WMIC code</title>
    <link>http://snippets.dzone.com/posts</link>
    <pubDate>Mon, 08 Sep 2008 05:13:56 GMT</pubDate>
    <description>DZone Snippets: WMIC code</description>
    <item>
      <title>Reset WINS Configuration to DHCP</title>
      <link>http://snippets.dzone.com/posts/show/4053</link>
      <description>Resets the WINS configuration on the specified remote PC (per the /node:PCname parameter) to obtain WINS addresses from DHCP&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;wmic /node:PCname process call create 'cmd.exe /c &#8220;netsh interface ip set wins name=&#8221;Local Area Connection&#8220; source=dhcp&#8221;'&lt;br /&gt;&lt;/code&gt;</description>
      <pubDate>Tue, 22 May 2007 19:53:53 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/4053</guid>
      <author>slowe (Scott Lowe)</author>
    </item>
    <item>
      <title>Reset DNS Configuration to DHCP</title>
      <link>http://snippets.dzone.com/posts/show/4052</link>
      <description>Resets the DNS configuration on the specified remote PC (per the /node:PCname parameter) to obtain DNS addresses from DHCP&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;wmic /node:PCname process call create 'cmd.exe /c &#8220;netsh interface ip set dns name=&#8221;Local Area Connection&#8220; source=dhcp&#8221;'&lt;br /&gt;&lt;/code&gt;</description>
      <pubDate>Tue, 22 May 2007 19:52:00 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/4052</guid>
      <author>slowe (Scott Lowe)</author>
    </item>
    <item>
      <title>Listing Services Running As a User Account</title>
      <link>http://snippets.dzone.com/posts/show/4051</link>
      <description>Lists all services that are running as a user account (not running as LocalSystem, LocalService, or NetworkService)&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;wmic service where (StartName!=&#8220;LocalSystem&#8221; and StartName!=&#8220;NT AUTHORITY\\LocalService&#8221; and StartName!=&#8220;NT AUTHORITY\\NetworkService&#8221;) get Caption,StartName&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;</description>
      <pubDate>Tue, 22 May 2007 19:15:12 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/4051</guid>
      <author>slowe (Scott Lowe)</author>
    </item>
    <item>
      <title>Set DNS Suffix Search Order Remotely</title>
      <link>http://snippets.dzone.com/posts/show/3780</link>
      <description>Uses WMIC to connect to a list of computers in an input file (one computer name per line) and sets the DNS suffix search order&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;wmic /node:@input.txt /failfast:on nicconfig call SetDNSSuffixSearchOrder (child.domain.com,domain.com,otherdomain.com)&lt;br /&gt;&lt;/code&gt;</description>
      <pubDate>Fri, 06 Apr 2007 16:25:35 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/3780</guid>
      <author>slowe (Scott Lowe)</author>
    </item>
  </channel>
</rss>
