<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Huddled Masses &#187; PoshNet</title>
	<atom:link href="http://huddledmasses.org/tag/poshnet/feed/" rel="self" type="application/rss+xml" />
	<link>http://huddledmasses.org</link>
	<description>You can do more than breathe for free...</description>
	<lastBuildDate>Fri, 27 Apr 2012 05:42:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<cloud domain='huddledmasses.org' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
		<item>
		<title>Update to PoshNet and Get-DNS</title>
		<link>http://huddledmasses.org/update-to-poshnet-and-get-dns/</link>
		<comments>http://huddledmasses.org/update-to-poshnet-and-get-dns/#comments</comments>
		<pubDate>Fri, 21 Nov 2008 06:15:26 +0000</pubDate>
		<dc:creator>Joel 'Jaykul' Bennett</dc:creator>
				<category><![CDATA[Huddled]]></category>
		<category><![CDATA[dig]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[NsLookup]]></category>
		<category><![CDATA[PoshNet]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Scripting]]></category>

		<guid isPermaLink="false">http://huddledmasses.org/?p=815</guid>
		<description><![CDATA[This is just a short note about Get-DNS (my dig for PowerShell cmdlet). Someone emailed me to ask how they could specify the dns servers, and the answer was that you couldn&#8217;t. So then I looked a bit deeper, and realized that the code I copied from CodeProject already had support for that, so I [...]]]></description>
			<content:encoded><![CDATA[	<p>This is just a short note about Get-<span class="caps">DNS</span> (my <a href="http://huddledmasses.org/powershell-dig-nslookup-cmdlet/">dig for PowerShell</a> cmdlet).  Someone emailed me to ask how they could specify the dns servers, and the answer was that you couldn&#8217;t.  So then I looked a bit deeper, and realized that the code I copied from <a href="http://www.codeproject.com/KB/IP/DNS_NET_Resolver.aspx">CodeProject</a> already had support for that, so I whipped up a new version which you can <a href="http://HuddledMasses.org/downloads/PoshNet.zip">download here</a> (<a href="http://HuddledMasses.org/downloads/PoshNet.7z">source here</a> under <span class="caps">GPL</span>).</p>

	<p>The only real difference is the addition of a -DnsServers parameter which accepts one or more dns server ip addresses. NOTE: they must be IP Addresses, not domain names (sorry, I was lazy, Maybe if someone I&#8217;ll make sure that gets tweaked eventually). You may include the port (eg: 71.6.202.220:53) but you don&#8217;t have to unless it&#8217;s non-standard (ie: not port 53).  You may specify multiple servers if you need a fallback &#8230; and as always, if you leave it off, the cmdlet will use your default <span class="caps">DNS</span> servers.</p>

	<p>Have fun, and uhm, feel free to tip the waiter.</p>]]></content:encoded>
			<wfw:commentRss>http://huddledmasses.org/update-to-poshnet-and-get-dns/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

