<?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: IPv4 subnet maths with PowerShell</title>
	<atom:link href="http://www.indented.co.uk/index.php/2010/01/23/powershell-subnet-math/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.indented.co.uk/index.php/2010/01/23/powershell-subnet-math/</link>
	<description></description>
	<lastBuildDate>Wed, 21 Dec 2011 09:33:35 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Indented! : More IPv4 subnet maths with PowerShell</title>
		<link>http://www.indented.co.uk/index.php/2010/01/23/powershell-subnet-math/comment-page-1/#comment-956</link>
		<dc:creator>Indented! : More IPv4 subnet maths with PowerShell</dc:creator>
		<pubDate>Thu, 13 Oct 2011 11:55:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.indented.co.uk/?p=1370#comment-956</guid>
		<description>[...] functions for some time now, I thought I&#8217;d post the functions that work directly with my original collection.  These functions are also included in my NetShell module, I need to post an update to that very [...]</description>
		<content:encoded><![CDATA[<p>[...] functions for some time now, I thought I&#8217;d post the functions that work directly with my original collection.  These functions are also included in my NetShell module, I need to post an update to that very [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Script for DHCP Scope - Admins Goodies</title>
		<link>http://www.indented.co.uk/index.php/2010/01/23/powershell-subnet-math/comment-page-1/#comment-717</link>
		<dc:creator>Script for DHCP Scope - Admins Goodies</dc:creator>
		<pubDate>Mon, 15 Aug 2011 16:37:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.indented.co.uk/?p=1370#comment-717</guid>
		<description>[...] Use Powershell. You&#8217;ll want to look at the &#8220;..&#8221; range operator, and have a look at the Net-SubnetMath.ps1 functions by Chris Dent. [...]</description>
		<content:encoded><![CDATA[<p>[...] Use Powershell. You&#8217;ll want to look at the &#8220;..&#8221; range operator, and have a look at the Net-SubnetMath.ps1 functions by Chris Dent. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.indented.co.uk/index.php/2010/01/23/powershell-subnet-math/comment-page-1/#comment-429</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Thu, 09 Sep 2010 08:18:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.indented.co.uk/?p=1370#comment-429</guid>
		<description>I can&#039;t make it work as well for PowerShell 1, it needs to support Unsigned Integers and PowerShell 1 does not. That is, it must support System.UInt32, not just System.Int32.</description>
		<content:encoded><![CDATA[<p>I can&#8217;t make it work as well for PowerShell 1, it needs to support Unsigned Integers and PowerShell 1 does not. That is, it must support System.UInt32, not just System.Int32.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wes</title>
		<link>http://www.indented.co.uk/index.php/2010/01/23/powershell-subnet-math/comment-page-1/#comment-428</link>
		<dc:creator>Wes</dc:creator>
		<pubDate>Wed, 08 Sep 2010 22:50:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.indented.co.uk/?p=1370#comment-428</guid>
		<description>I&#039;m noticing a problem when I run the script with Powershell 1 in Windows 2003... 

Cannot convert value &quot;4294966784&quot; to type &quot;System.Int32&quot;. Error: &quot;Value was either too large or too small for
&quot;
+     (ConvertTo-DecimalIP $IP) -BAnd  &lt;&lt;&lt;&lt;

this occurs inside the Get-NetworkAddress function. each &quot;ConvertTo-DecimalIP&quot; function within Get-NetworkAddress  get called successfully, but it fails right before it gets to the value to send to ConvertTo-DottedDecimalIP.

I believe it has to do with the use of &quot;-BAnd&quot;</description>
		<content:encoded><![CDATA[<p>I&#8217;m noticing a problem when I run the script with Powershell 1 in Windows 2003&#8230; </p>
<p>Cannot convert value &#8220;4294966784&#8243; to type &#8220;System.Int32&#8243;. Error: &#8220;Value was either too large or too small for<br />
&#8221;<br />
+     (ConvertTo-DecimalIP $IP) -BAnd  &lt;&lt;&lt;&lt;</p>
<p>this occurs inside the Get-NetworkAddress function. each &quot;ConvertTo-DecimalIP&quot; function within Get-NetworkAddress  get called successfully, but it fails right before it gets to the value to send to ConvertTo-DottedDecimalIP.</p>
<p>I believe it has to do with the use of &quot;-BAnd&quot;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy N</title>
		<link>http://www.indented.co.uk/index.php/2010/01/23/powershell-subnet-math/comment-page-1/#comment-340</link>
		<dc:creator>Andy N</dc:creator>
		<pubDate>Tue, 29 Jun 2010 19:02:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.indented.co.uk/?p=1370#comment-340</guid>
		<description>These functions have proven supremely useful - I&#039;ve automated a tedious firewall object provisioning process based on your work..  Thanks for sharing!

Rather thank dot-sourcing, I&#039;ve made a Module from the file  by adding &quot; Export-ModuleMember -Function * &quot; and saving the script as a .psm1  file in the system Modules directory.</description>
		<content:encoded><![CDATA[<p>These functions have proven supremely useful &#8211; I&#8217;ve automated a tedious firewall object provisioning process based on your work..  Thanks for sharing!</p>
<p>Rather thank dot-sourcing, I&#8217;ve made a Module from the file  by adding &#8221; Export-ModuleMember -Function * &#8221; and saving the script as a .psm1  file in the system Modules directory.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gareth</title>
		<link>http://www.indented.co.uk/index.php/2010/01/23/powershell-subnet-math/comment-page-1/#comment-320</link>
		<dc:creator>Gareth</dc:creator>
		<pubDate>Thu, 20 May 2010 14:58:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.indented.co.uk/?p=1370#comment-320</guid>
		<description>Great thanks for posting - you just saved me a whole load of pain!!

I owe you a beer! 

Cheers

GM</description>
		<content:encoded><![CDATA[<p>Great thanks for posting &#8211; you just saved me a whole load of pain!!</p>
<p>I owe you a beer! </p>
<p>Cheers</p>
<p>GM</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Episode 112 &#8211; Scripting Games 2010 Roundup with Ed Wilson and Joel Bennett &#171; PowerScripting Podcast</title>
		<link>http://www.indented.co.uk/index.php/2010/01/23/powershell-subnet-math/comment-page-1/#comment-315</link>
		<dc:creator>Episode 112 &#8211; Scripting Games 2010 Roundup with Ed Wilson and Joel Bennett &#171; PowerScripting Podcast</dc:creator>
		<pubDate>Mon, 17 May 2010 10:37:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.indented.co.uk/?p=1370#comment-315</guid>
		<description>[...] IP subnet math in PowerShell   Tips [...]</description>
		<content:encoded><![CDATA[<p>[...] IP subnet math in PowerShell   Tips [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.indented.co.uk/index.php/2010/01/23/powershell-subnet-math/comment-page-1/#comment-175</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Fri, 05 Mar 2010 12:54:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.indented.co.uk/?p=1370#comment-175</guid>
		<description>Thanks :)

PowerShell 1? It may have some issues with the unsigned integers used by the script, everything was written under PowerShell 2. Otherwise if you happen to have examples of where it&#039;s failing I&#039;ll fix it :)</description>
		<content:encoded><![CDATA[<p>Thanks :)</p>
<p>PowerShell 1? It may have some issues with the unsigned integers used by the script, everything was written under PowerShell 2. Otherwise if you happen to have examples of where it&#8217;s failing I&#8217;ll fix it :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neil Fairall</title>
		<link>http://www.indented.co.uk/index.php/2010/01/23/powershell-subnet-math/comment-page-1/#comment-174</link>
		<dc:creator>Neil Fairall</dc:creator>
		<pubDate>Fri, 05 Mar 2010 12:43:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.indented.co.uk/?p=1370#comment-174</guid>
		<description>This is beautiful.  I have been doing some of this from scratch and you just saved me a lot of time.

One thing I have noted however is that Int32 can&#039;t handle some of the decimal values generated.  Everything works very nicely if you use Int64 instead.</description>
		<content:encoded><![CDATA[<p>This is beautiful.  I have been doing some of this from scratch and you just saved me a lot of time.</p>
<p>One thing I have noted however is that Int32 can&#8217;t handle some of the decimal values generated.  Everything works very nicely if you use Int64 instead.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

