<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Manage multiple DHCP scopes with netsh script</title>
	<atom:link href="http://bradstechblog.com/netsh/manage-multiple-dhcp-scopes-with-netsh-script/feed" rel="self" type="application/rss+xml" />
	<link>http://bradstechblog.com/netsh/manage-multiple-dhcp-scopes-with-netsh-script</link>
	<description>Microsoft technologies like: System Center Operations Manager, and whatever else comes up at the office.</description>
	<lastBuildDate>Wed, 18 Aug 2010 14:00:57 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Darren Toews</title>
		<link>http://bradstechblog.com/netsh/manage-multiple-dhcp-scopes-with-netsh-script/comment-page-1#comment-301</link>
		<dc:creator>Darren Toews</dc:creator>
		<pubDate>Fri, 20 Mar 2009 21:31:17 +0000</pubDate>
		<guid isPermaLink="false">http://bradstechblog.com/?p=64#comment-301</guid>
		<description>Great Script!  I&#039;m wondering, how would I modify it to create a scope and add in a name and comment?

I&#039;ve tried changing it to this:  

for /f &quot;tokens=1&quot; %%a in (c:\scopes.txt) DO netsh dhcp server add scope %%a 255.255.255.0 %%b %%c

but that didn&#039;t work.  it ended up naming the scope %b and didn&#039;t add a comment.

my text file is tab delimited, and is of the format:

scopeIPAddress  scopeName  scopeComment

Any suggestions?</description>
		<content:encoded><![CDATA[<p>Great Script!  I&#8217;m wondering, how would I modify it to create a scope and add in a name and comment?</p>
<p>I&#8217;ve tried changing it to this:  </p>
<p>for /f &#8220;tokens=1&#8243; %%a in (c:\scopes.txt) DO netsh dhcp server add scope %%a 255.255.255.0 %%b %%c</p>
<p>but that didn&#8217;t work.  it ended up naming the scope %b and didn&#8217;t add a comment.</p>
<p>my text file is tab delimited, and is of the format:</p>
<p>scopeIPAddress  scopeName  scopeComment</p>
<p>Any suggestions?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
