<?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>yakk0.org</title>
	<atom:link href="http://www.yakk0.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.yakk0.org</link>
	<description>a blog on technology in the real world</description>
	<lastBuildDate>Mon, 08 Mar 2010 21:38:32 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>PowerShell: Add printers to DNS</title>
		<link>http://www.yakk0.org/2010/03/08/powershell-add-printers-to-dns/</link>
		<comments>http://www.yakk0.org/2010/03/08/powershell-add-printers-to-dns/#comments</comments>
		<pubDate>Mon, 08 Mar 2010 20:55:52 +0000</pubDate>
		<dc:creator>Jeremy</dc:creator>
				<category><![CDATA[technology]]></category>
		<category><![CDATA[active directory]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.yakk0.org/?p=281</guid>
		<description><![CDATA[I realized today that most of our printers at work did not have DNS entries. This isn’t a big problem for users because they’re on our print server and they get their printers through Group Policy. The Print server has each printer set up to the IPs. We just implemented a management system today, and ]]></description>
			<content:encoded><![CDATA[<p>I realized today that most of our printers at work did not have DNS entries. This isn’t a big problem for users because they’re on our print server and they get their printers through Group Policy. The Print server has each printer set up to the IPs. We just implemented a management system today, and it lists the printers by IP and because the DNS entries were “Unknown” for most of them, it wasn’t easy to determine what printer we were looking at.</p>
<p>I found several PowerShell examples on the web for interacting with Microsoft DNS servers, and took a bit from each to come up with this script. It takes the shared printer name and publishes that as the DNS name. This does cause a problem if you have spaces in a share name, but our environment doesn’t, so I didn’t program for that issue.</p>
<p>Here’s the script:</p>
<p><span id="more-281"></span></p>
<div style="font-family: consolas,lucida console; background: #fcfcfc; font-size: 8pt; padding: 5px;"><span style="color: #00008b;">Function</span><span style="color: #000000;"> </span><span style="color: #8a2be2;">Add-ARecord</span><br />
<span style="color: #000000;">{</span><br />
<span style="color: #000000;"> </span><span style="color: #0000ff;">Write-Host</span><span style="color: #000000;"> </span><span style="color: #000080;">-ForegroundColor</span><span style="color: #000000;"> </span><span style="color: #8a2be2;">DarkCyan</span><span style="color: #000000;"> </span><span style="color: #8b0000;">&#8220;Importing Printer information&#8221;</span><br />
<span style="color: #000000;"> </span><span style="color: #006400;"># Imports all printers from Print Server</span><br />
<span style="color: #000000;"> </span><span style="color: #ff4500;">$printers</span><span style="color: #000000;"> </span><span style="color: #a9a9a9;">=</span><span style="color: #000000;"> </span><span style="color: #000000;">(</span><span style="color: #0000ff;">get-WmiObject</span><span style="color: #000000;"> </span><span style="color: #000080;">-class</span><span style="color: #000000;"> </span><span style="color: #ff4500;">$Class</span><span style="color: #000000;"> </span><span style="color: #000080;">-computername</span><span style="color: #000000;"> </span><span style="color: #ff4500;">$printSvr</span><span style="color: #000000;">)</span><br />
<span style="color: #000000;"> </span><span style="color: #ff4500;">$Arecord</span><span style="color: #000000;"> </span><span style="color: #a9a9a9;">=</span><span style="color: #000000;"> </span><span style="color: #008080;">[WmiClass]</span><span style="color: #8b0000;">&#8220;\\$dnsSvr\root\MicrosoftDNS:MicrosoftDNS_AType&#8221;</span><span style="color: #000000;"> </span><br />
<span style="color: #000000;"> </span><span style="color: #ff4500;">$class</span><span style="color: #000000;"> </span><span style="color: #a9a9a9;">=</span><span style="color: #000000;"> </span><span style="color: #800080;">1</span><span style="color: #000000;"> </span><br />
<span style="color: #000000;"> </span><span style="color: #ff4500;">$ttl</span><span style="color: #000000;"> </span><span style="color: #a9a9a9;">=</span><span style="color: #000000;"> </span><span style="color: #800080;">3600</span><span style="color: #000000;"> </span><span style="color: #006400;"># Time-To-Live in seconds</span><br />
<span style="color: #000000;"> </span><br />
<span style="color: #000000;"> </span><span style="color: #ff4500;">$printers</span><span style="color: #000000;"> </span><span style="color: #a9a9a9;">|</span><span style="color: #000000;"> </span><span style="color: #0000ff;">ForEach-Object</span><span style="color: #000000;">{</span><br />
<span style="color: #000000;"> </span><span style="color: #0000ff;">Get</span><span style="color: #000000;"> </span><span style="color: #8a2be2;">the</span><span style="color: #000000;"> </span><span style="color: #8a2be2;">name</span><span style="color: #000000;"> </span><span style="color: #8a2be2;">of</span><span style="color: #000000;"> </span><span style="color: #8a2be2;">the</span><span style="color: #000000;"> </span><span style="color: #8a2be2;">Shared</span><span style="color: #000000;"> </span><span style="color: #8a2be2;">Printer</span><br />
<span style="color: #000000;"> </span><span style="color: #ff4500;">$name</span><span style="color: #000000;"> </span><span style="color: #a9a9a9;">=</span><span style="color: #000000;"> </span><span style="color: #ff4500;">$_</span><span style="color: #a9a9a9;">.</span><span style="color: #000000;">ShareName</span><span style="color: #000000;"> </span><br />
<span style="color: #000000;"> </span><span style="color: #006400;"># Get IP information from TCP/IP port</span><br />
<span style="color: #000000;"> </span><span style="color: #ff4500;">$address</span><span style="color: #000000;"> </span><span style="color: #a9a9a9;">=</span><span style="color: #000000;"> </span><span style="color: #ff4500;">$_</span><span style="color: #a9a9a9;">.</span><span style="color: #000000;">portname</span><span style="color: #a9a9a9;">.</span><span style="color: #000000;">Replace</span><span style="color: #000000;">(</span><span style="color: #8b0000;">&#8220;IP_&#8221;</span><span style="color: #a9a9a9;">,</span><span style="color: #000000;"> </span><span style="color: #8b0000;">&#8220;&#8221;</span><span style="color: #000000;">)</span><span style="color: #000000;"> </span></p>
<p><span style="color: #000000;"> </span><span style="color: #006400;"># output variables for testing</span><br />
<span style="color: #000000;"> </span><span style="color: #006400;">#write-host -ForegroundColor Yellow $server, $zone, $name, $class, $ttl, $address </span><br />
<span style="color: #000000;"> </span><br />
<span style="color: #000000;"> </span><span style="color: #006400;"># create DNS A Records</span><br />
<span style="color: #000000;"> </span><span style="color: #ff4500;">$Arecord</span><span style="color: #a9a9a9;">.</span><span style="color: #000000;">CreateInstanceFromPropertydata</span><span style="color: #000000;">(</span><span style="color: #ff4500;">$server</span><span style="color: #a9a9a9;">,</span><span style="color: #000000;"> </span><span style="color: #ff4500;">$zone</span><span style="color: #a9a9a9;">,</span><span style="color: #000000;"> </span><span style="color: #ff4500;">$name</span><span style="color: #a9a9a9;">,</span><span style="color: #000000;"> </span><span style="color: #ff4500;">$class</span><span style="color: #a9a9a9;">,</span><span style="color: #000000;"> </span><span style="color: #ff4500;">$ttl</span><span style="color: #a9a9a9;">,</span><span style="color: #000000;"> </span><span style="color: #ff4500;">$address</span><span style="color: #000000;">)</span><span style="color: #000000;"> </span><br />
<span style="color: #000000;"> </span><span style="color: #000000;">}</span><br />
<span style="color: #000000;">}</span></p>
<p><span style="color: #ff4500;">$Class</span><span style="color: #000000;"> </span><span style="color: #a9a9a9;">=</span><span style="color: #000000;"> </span><span style="color: #8b0000;">&#8220;win32_printer&#8221;</span><span style="color: #000000;"> </span><span style="color: #006400;"># WMI class for printers</span><br />
<span style="color: #006400;"># Change to suit your environment</span><br />
<span style="color: #ff4500;">$printSvr</span><span style="color: #000000;"> </span><span style="color: #a9a9a9;">=</span><span style="color: #000000;"> </span><span style="color: #8b0000;">&#8220;printsvr&#8221;</span><span style="color: #000000;"> </span><span style="color: #006400;"># Print server</span><br />
<span style="color: #ff4500;">$dnsSvr</span><span style="color: #000000;"> </span><span style="color: #a9a9a9;">=</span><span style="color: #000000;"> </span><span style="color: #8b0000;">&#8220;dnssvr&#8221;</span><span style="color: #000000;"> </span><span style="color: #006400;"># DNS Server</span><br />
<span style="color: #ff4500;">$zone</span><span style="color: #000000;"> </span><span style="color: #a9a9a9;">=</span><span style="color: #000000;"> </span><span style="color: #8b0000;">&#8220;dnszone&#8221;</span><span style="color: #000000;"> </span><span style="color: #006400;"># DNS Zone</span></p>
<p><span style="color: #0000ff;">Add-ARecord</span></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.yakk0.org/2010/03/08/powershell-add-printers-to-dns/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apple Predictions</title>
		<link>http://www.yakk0.org/2010/01/11/apple-predictions/</link>
		<comments>http://www.yakk0.org/2010/01/11/apple-predictions/#comments</comments>
		<pubDate>Mon, 11 Jan 2010 15:53:21 +0000</pubDate>
		<dc:creator>Jeremy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.yakk0.org/?p=258</guid>
		<description><![CDATA[With all the Apple tablet rumors preceding the upcoming Apple event at the end of the month, I thought I’d put down my thoughts about what’s going to be announced. They’re listed in order of most-likely to pipe-dreams.
 
iPhone updates – The January event has been about new iPhones the last few years, so we’re ]]></description>
			<content:encoded><![CDATA[<p>With all the Apple tablet rumors preceding the upcoming Apple event at the end of the month, I thought I’d put down my thoughts about what’s going to be announced. They’re listed in order of most-likely to pipe-dreams.</p>
<p> <span id="more-258"></span>
<p>iPhone updates – The January event has been about new iPhones the last few years, so we’re starting there.</p>
<ul>
<li>new iPhone models shipping in June with an OLED screen, a better camera, faster processor, more storage, but not much more.</li>
<li>iPhone OS 4.0 with improvements in app management, WiFi syncing with iTunes, customizable lock screen (with things like calendar entries), and speed improvements.</li>
<li>AT&amp;T tethering plans announced</li>
</ul>
<p>Tablet – While I’m still not 100% sure they’re going to release a tablet in January, this is what I’d like to see in one</p>
<ul>
<li>10” screen</li>
<li>Customized OSX built for touch, but not necessarily based off the iPhone design. Maybe based off AppleTV, either in the whole OS or only for media playing</li>
<li>WiFi media syncing with iTunes</li>
<li>DisplayPort output</li>
</ul>
<p>AppleTV – The AppleTV is badly in need of a refresh. The OS just got updated a few months ago, but there’s still room for improvement.</p>
<ul>
<li>AppleTV software integrated with a TV</li>
<li>New version of AppleTV OS with the new interface throughout.</li>
<li>New hardware with faster processor and more ram</li>
<li>Front Row update for Snow Leopard to unify AppleTV and Front Row interfaces</li>
</ul>
<p>We’ll see how accurate I am. Out of all of these, I’d say the WiFi syncing is the thing that I’m hoping for the most. I hate having to connect to my laptop to sync when I’m in a hurry. I wish it could stay in sync automatically when they iPhone and Mac are on the same wireless network. </p>
<p>The AppleTV stuff is very unlikely to happen, but it would be nice to have better hardware. The main interface that Apple put out with the newest update is really nice as well. I can’t see why they wouldn’t put that in Front Row as well.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.yakk0.org/2010/01/11/apple-predictions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>blocking IE6</title>
		<link>http://www.yakk0.org/2009/12/07/blocking-ie6/</link>
		<comments>http://www.yakk0.org/2009/12/07/blocking-ie6/#comments</comments>
		<pubDate>Mon, 07 Dec 2009 22:02:26 +0000</pubDate>
		<dc:creator>Jeremy</dc:creator>
				<category><![CDATA[technology]]></category>
		<category><![CDATA[complaining]]></category>
		<category><![CDATA[internet explorer]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.yakk0.org/?p=249</guid>
		<description><![CDATA[Let’s get this out of the way first…I think that IE6 is a horrible browser. 
Now that that’s done, the sad truth is that many of us have to deal with IE6 on a daily basis. The school district I work for still has one quarter of the computers running Windows 2000. They have been ]]></description>
			<content:encoded><![CDATA[<p>Let’s get this out of the way first…I think that IE6 is a horrible browser. </p>
<p>Now that that’s done, the sad truth is that many of us have to deal with IE6 on a daily basis. The school district I work for still has one quarter of the computers running Windows 2000. They have been updating the hardware, but for political reasons were unable to update the operating system for a few years. When I started last January they were halfway through a migration to Vista and had skipped XP entirely. However, there is still 1/4 of the district to go so we’re supporting IE6 for another 7 months or so.</p>
<p> <span id="more-249"></span>
</p>
<p>Today I was covering the helpdesk phone and a user called in unable to get to the website for another school district in the area. That district was running a Wordpress <a href="http://www.incerteza.org/blog/projetos/shockingly-big-ie6-warning/" target="_blank">plugin</a> that completely prevents IE6 from accessing the site. This is what my user saw:</p>
<p><a href="http://www.yakk0.org/wordpress/wp-content/uploads/2009/12/ieblock.png"><img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="ieblock" border="0" alt="ieblock" src="http://www.yakk0.org/wordpress/wp-content/uploads/2009/12/ieblock_thumb.png" width="244" height="166" /></a></p>
<p>In my opinion, the administrators for a public school district’s website have the obligation to make the site as accessible as possible. The browser preferences of the site admins should not be allowed to prevent access to the site. If it was a decision by the district administration and not the IT administration, it’s even more stupid. It wouldn’t have bothered me if there was still a way for the older browser to access the site, but they completely block it preventing access by people that have no control over their browser version.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.yakk0.org/2009/12/07/blocking-ie6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fixing IT problems with a hammer</title>
		<link>http://www.yakk0.org/2009/11/20/fixing-it-problems-with-a-hammer/</link>
		<comments>http://www.yakk0.org/2009/11/20/fixing-it-problems-with-a-hammer/#comments</comments>
		<pubDate>Fri, 20 Nov 2009 19:35:40 +0000</pubDate>
		<dc:creator>Jeremy</dc:creator>
				<category><![CDATA[technology]]></category>
		<category><![CDATA[active directory]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.yakk0.org/2009/11/20/fixing-it-problems-with-a-hammer/</guid>
		<description><![CDATA[In a continuing process of cleaning up horrible decisions by our predecessors, we just moved a website off one of our domain controllers. The website was moving from IIS6 to 7 (or 7.5, whatever comes with Server 2008 R2), and it required some tweaking to start working again. One of the parts that didn’t work ]]></description>
			<content:encoded><![CDATA[<p>In a continuing process of cleaning up horrible decisions by our predecessors, we just moved a website off one of our domain controllers. The website was moving from IIS6 to 7 (or 7.5, whatever comes with Server 2008 R2), and it required some tweaking to start working again. One of the parts that didn’t work was a self-help page where teachers could unlock student accounts. I set up this web server, and created a service account for it that doesn’t have any special rights on the domain. Because the website runs in IIS as this service account, it could query the domain with no problems, but it didn’t have the rights to unlock accounts. </p>
<p>This is obviously where I differ from a coworker…</p>
<blockquote><p>him: “Just add the service account to Domain Admins”</p>
<p>me: “Why would I want to do that?”</p>
</blockquote>
<p>In the end I remembered I can delegate just the permissions needed to unlock our student accounts to that service account and it works fine. </p>
<p>Why use a hammer when you only need a tiny screwdriver?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.yakk0.org/2009/11/20/fixing-it-problems-with-a-hammer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>quick Windows 7 tip</title>
		<link>http://www.yakk0.org/2009/05/18/quick-windows-7-tip/</link>
		<comments>http://www.yakk0.org/2009/05/18/quick-windows-7-tip/#comments</comments>
		<pubDate>Mon, 18 May 2009 16:16:55 +0000</pubDate>
		<dc:creator>Jeremy</dc:creator>
				<category><![CDATA[technology]]></category>
		<category><![CDATA["windows 7"]]></category>
		<category><![CDATA[tip]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.yakk0.org/2009/05/18/quick-windows-7-tip/</guid>
		<description><![CDATA[Found a quick workaround for my complaint that you can’t pin items that are on network shares to the Windows 7 taskbar. All you have to do is create a folder for shortcuts to all the items, create a new toolbar on the taskbar using that folder. It shows up like the old Quicklaunch toolbar, ]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.yakk0.org/wordpress/wp-content/uploads/2009/05/toolbar.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; margin-left: 0px; border-top: 0px; margin-right: 0px; border-right: 0px" title="toolbar" border="0" alt="toolbar" align="right" src="http://www.yakk0.org/wordpress/wp-content/uploads/2009/05/toolbar-thumb.png" width="88" height="484" /></a>Found a quick workaround for my <a href="http://twitter.com/yakk0dotorg/statuses/1795818567">complaint</a> that you can’t pin items that are on network shares to the Windows 7 taskbar. All you have to do is create a folder for shortcuts to all the items, create a new toolbar on the taskbar using that folder. It shows up like the old Quicklaunch toolbar, and creates a separate icon on the taskbar when the app is launched, but it kinda solves my problem.</p>
<p> Here’s the steps: </p>
<ol>
<li>Create a new folder with shortcuts to the applications you can’t pin.</li>
<li>Right click taskbar and unlock it.</li>
<li>Right click the taskbar again, select toolbars, then select “New toolbar.”</li>
<li>Browse to the folder you created, and click “select folder.&quot;</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.yakk0.org/2009/05/18/quick-windows-7-tip/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
