<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>TechProsaic</title>
	
	<link>http://halr9000.com</link>
	<description>(powershell &amp; other stuff)</description>
	<lastBuildDate>Sat, 13 Mar 2010 18:43:53 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.1</generator>
	<language>en-us</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/halr9000" /><feedburner:info uri="halr9000" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><geo:lat>34.117565</geo:lat><geo:long>-84.571761</geo:long><feedburner:emailServiceId>halr9000</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><feedburner:browserFriendly>This is an XML content feed. It is intended to be viewed in a newsreader or syndicated to another site.</feedburner:browserFriendly><item>
		<title>Please vote for my PowerCLI Codestock session!</title>
		<link>http://feedproxy.google.com/~r/halr9000/~3/aRVtrzeNpRM/870</link>
		<comments>http://halr9000.com/article/870#comments</comments>
		<pubDate>Sat, 13 Mar 2010 18:43:53 +0000</pubDate>
		<dc:creator>halr9000</dc:creator>
				<category><![CDATA[Powershell]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://halr9000.com/article/870</guid>
		<description><![CDATA[
If you are in the Southeast US, you may be interested in the upcoming Codestock event coming up in June in Knoxville, TN. It seems to be heavily slanted towards developers, but they are doing IT Pro and Entrepeneur tracks this year as well. I have submitted one session for my Managing VMware with PowerShell [...]]]></description>
			<content:encoded><![CDATA[<a href="http://halr9000.com/article/category/programming/scripting/powershell" title="Powershell"><img src="/wp-content/icons/topic_powershell.png" align="right" width="70" height="53" alt="Powershell" /></a>
<!-- no icon for 'VMware' --><p>If you are in the Southeast US, you may be interested in the upcoming <a href="http://codestock.org">Codestock</a> event coming up in June in Knoxville, TN. It seems to be heavily slanted towards developers, but they are doing IT Pro and Entrepeneur tracks this year as well. I have submitted one session for my <a href="http://codestock.org/sessions/managing-vmware-with-windows-powershell-and-powercli.aspx">Managing VMware with PowerShell thing</a>. If you have a minute, please go over to the site to register and vote my session up. </p>
<p>I’ve never been to Codestock before, but it looks like fun. In fact, it looks like a lot more fun than your typical canned vendor convention. I don’t plan on doing many speaker engagements this year aside from the occasional <a href="http://atlsmug.org">SMUG</a> or <a href="http://powershellgroup.org/atlanta.ga">APUG</a> meeting here in Atlanta, but I thought going to Knoxville might be a neat excuse to get out an d see a new city. The drive to Knoxville from Atlanta is pretty nice if you go through Chattahoochee and Nantahala national forests, so we are looking forward to that.</p>
<p><img src="http://l.yimg.com/g/images/spaceball.gif" /><img src="http://l.yimg.com/g/images/spaceball.gif" /></p>
</p>
<p><img src="http://l.yimg.com/g/images/spaceball.gif" /><img src="http://l.yimg.com/g/images/spaceball.gif" /></p>
</p>
<p><img alt="Brasstown Bald Road by tfdavis." src="http://farm4.static.flickr.com/3115/3159556923_248f4a319f.jpg" /></p>
<p>(credit <a href="http://www.flickr.com/photos/tfdavis/3159556923/">tfdavis on flickr</a>)</p>

<p><a href="http://feedads.g.doubleclick.net/~a/sstuOJYFeP6wtZlZodCRhlEh9uk/0/da"><img src="http://feedads.g.doubleclick.net/~a/sstuOJYFeP6wtZlZodCRhlEh9uk/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/sstuOJYFeP6wtZlZodCRhlEh9uk/1/da"><img src="http://feedads.g.doubleclick.net/~a/sstuOJYFeP6wtZlZodCRhlEh9uk/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/halr9000?a=aRVtrzeNpRM:bRwvApqKxiA:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/halr9000?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/halr9000?a=aRVtrzeNpRM:bRwvApqKxiA:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/halr9000?i=aRVtrzeNpRM:bRwvApqKxiA:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/halr9000/~4/aRVtrzeNpRM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://halr9000.com/article/870/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://halr9000.com/article/870</feedburner:origLink></item>
		<item>
		<title>Kind Words from a Reader</title>
		<link>http://feedproxy.google.com/~r/halr9000/~3/5eCiOE1t1z0/869</link>
		<comments>http://halr9000.com/article/869#comments</comments>
		<pubDate>Mon, 01 Mar 2010 01:58:44 +0000</pubDate>
		<dc:creator>halr9000</dc:creator>
				<category><![CDATA[Book]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://halr9000.com/article/869</guid>
		<description><![CDATA[This email arrived in my inbox today:
Just finished your book for the second time.&#160; Man, have I learned a lot!&#160; I am way ahead of the PowerShell curve for admins in general.&#160; No one at my work can touch me!&#160; SQl, AD, VMware, IIS, Group Policy, log extraction, etc…&#160; I do it all with PowerShell.
A [...]]]></description>
			<content:encoded><![CDATA[<!-- no icon for 'Book' --><!-- no icon for 'VMware' --><p>This email arrived in my inbox today:</p>
<blockquote><p>Just finished your book for the second time.&#160; Man, have I learned a lot!&#160; I am way ahead of the PowerShell curve for admins in general.&#160; No one at my work can touch me!&#160; SQl, AD, VMware, IIS, Group Policy, log extraction, etc…&#160; I do it all with PowerShell.</p>
<p>A lot of people say, you can do all this stuff in the VMware client.&#160; My reply is simply- no you can’t…&#160; I have at least 30 automated PowerShell scripts that run throughout the week.&#160; I don’t know how I lived without PowerShell.&#160; </p>
<p>Again, your book rocked.&#160; I actually paid for it!&#160; I won’t let anyone borrow it either.&#160; I need it way too much.&#160; I tell them to BUY THEIR OWN!!!</p>
<p>G.B.</p>
</blockquote>
<p>I really enjoyed reading it and wanted to share this with everyone. Very cool of him to take the time to send me the note.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/mxdiuWORsgLrd28CG9ffCuUxsv8/0/da"><img src="http://feedads.g.doubleclick.net/~a/mxdiuWORsgLrd28CG9ffCuUxsv8/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/mxdiuWORsgLrd28CG9ffCuUxsv8/1/da"><img src="http://feedads.g.doubleclick.net/~a/mxdiuWORsgLrd28CG9ffCuUxsv8/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/halr9000?a=5eCiOE1t1z0:b71DbXh3wYY:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/halr9000?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/halr9000?a=5eCiOE1t1z0:b71DbXh3wYY:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/halr9000?i=5eCiOE1t1z0:b71DbXh3wYY:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/halr9000/~4/5eCiOE1t1z0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://halr9000.com/article/869/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://halr9000.com/article/869</feedburner:origLink></item>
		<item>
		<title>PowerCLI Tip: Speed up your login</title>
		<link>http://feedproxy.google.com/~r/halr9000/~3/GSny4UB4sgs/867</link>
		<comments>http://halr9000.com/article/867#comments</comments>
		<pubDate>Sun, 24 Jan 2010 21:32:57 +0000</pubDate>
		<dc:creator>halr9000</dc:creator>
				<category><![CDATA[Powershell]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[powercli]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://halr9000.com/article/867</guid>
		<description><![CDATA[
 When using PowerCLI, the first thing you have to do is to create a connection and authenticate yourself to your vSphere and/or vCenter servers. This is done with the Connect-VIServer cmdlet. Sometimes, this connection can be slow, taking ten or more seconds just to display a password prompt! That gets old pretty quickly.
There is [...]]]></description>
			<content:encoded><![CDATA[<a href="http://halr9000.com/article/category/programming/scripting/powershell" title="Powershell"><img src="/wp-content/icons/topic_powershell.png" align="right" width="70" height="53" alt="Powershell" /></a>
<!-- no icon for 'VMware' --><p><a href="http://halr9000.com/wp-content/uploads/2010/01/image.png"><img style="border-bottom: 0px; border-left: 0px; margin: 0px 0px 0px 5px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" align="right" src="http://halr9000.com/wp-content/uploads/2010/01/image_thumb.png" width="244" height="187" /></a> When using <a href="http://vmware.com/go/powercli">PowerCLI</a>, the first thing you have to do is to create a connection and authenticate yourself to your vSphere and/or vCenter servers. This is done with the <a href="http://www.vmware.com/support/developer/windowstoolkit/wintk40u1/html/Connect-VIServer.html">Connect-VIServer</a> cmdlet. Sometimes, this connection can be slow, taking ten or more seconds just to display a password prompt! That gets old pretty quickly.</p>
<p>There is a good reason for the slowness before you are prompted for credentials, and turns out, it’s a feature, not a bug. PowerCLI supports a single-sign-on (SSO) authentication when you attempt a connection to a vCenter server. What happens in the background is that your current Windows credentials are being passed on to the server and that is tried first, before even prompting you for credentials. This is great if you are sitting at the office and have a fast link to the vCenter server, and you happen to be logging into your workstation with a domain accont, and that domain account has vCenter rights. This transparent passing of credentials is definitely a timesaver under those circumstances.</p>
<p>But on the other hand, what if you are connecting from home over a slow link? What if you are on your home PC or a local account? What if, due to security policies at your company, your normal user account doesn’t even HAVE admin privileges? Yup, the authentication attempt fails (or simply takes a while), and you are left twiddling your thumbs, waiting for the “real” login prompt to appear.</p>
<h3>Resolution</h3>
<p>The fix is an easy one. Instead of typing this to connect:</p>
<pre class="csharpcode">Connect-VIServer vcenter.domain.com
<style type="text/css">.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }
</style>
</pre>
<p>…type something like this:</p>
<pre class="csharpcode">Connect-VIServer vcenter.domain.com -Credential (Get-Credential)</pre>
<p>or the less-recommended, yet still quite functional:</p>
<pre class="csharpcode">Connect-VIServer vcenter.domain.com -user myuser -password mypass</pre>
<style type="text/css">
.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }</style>
<p>By using one of these methods, you are instructing Connect-VIServer to explicitly use a set of credentials which you specify. This way, it won’t bother attempting to pass along your current credentials, thus saving you a few seconds and perhaps a gray hair or two.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/TLzWmhNlw3f-Y28KQLCewg4-Iyc/0/da"><img src="http://feedads.g.doubleclick.net/~a/TLzWmhNlw3f-Y28KQLCewg4-Iyc/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/TLzWmhNlw3f-Y28KQLCewg4-Iyc/1/da"><img src="http://feedads.g.doubleclick.net/~a/TLzWmhNlw3f-Y28KQLCewg4-Iyc/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/halr9000?a=GSny4UB4sgs:5iK_V06BszM:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/halr9000?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/halr9000?a=GSny4UB4sgs:5iK_V06BszM:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/halr9000?i=GSny4UB4sgs:5iK_V06BszM:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/halr9000/~4/GSny4UB4sgs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://halr9000.com/article/867/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://halr9000.com/article/867</feedburner:origLink></item>
		<item>
		<title>Random Letters</title>
		<link>http://feedproxy.google.com/~r/halr9000/~3/XUQq5FmMdkA/859</link>
		<comments>http://halr9000.com/article/859#comments</comments>
		<pubDate>Sun, 24 Jan 2010 05:47:42 +0000</pubDate>
		<dc:creator>halr9000</dc:creator>
				<category><![CDATA[Powershell]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Basics]]></category>
		<category><![CDATA[Get-Random]]></category>

		<guid isPermaLink="false">http://halr9000.com/article/859</guid>
		<description><![CDATA[
I needed some source text to test a regular expression pattern, so my goal tonight was to generate some. The regex pattern in question finds email addresses, so I needed to be sure to embed real-looking email addresses inside of gibberish. Step number one: I need some random letters. PowerShell v2’s Get-Random cmdlet comes to [...]]]></description>
			<content:encoded><![CDATA[<a href="http://halr9000.com/article/category/programming/scripting/powershell" title="Powershell"><img src="/wp-content/icons/topic_powershell.png" align="right" width="70" height="53" alt="Powershell" /></a>
<!-- no icon for 'Tutorials' --><p>I needed some source text to test a regular expression pattern, so my goal tonight was to generate some. The regex pattern in question finds email addresses, so I needed to be sure to embed real-looking email addresses inside of gibberish. Step number one: I need some random letters. PowerShell v2’s Get-Random cmdlet comes to the rescue!</p>
<p>Get-Random has two modes. The first mode allows you to return random numbers, and you can specify a min and max range. The second mode will return random items from a list, and as an added bonus, you can specify the number of items to return. I plan on using both modes in this exercise.</p>
<p>In order to build gibberish words or email addresses, I need to start with a list of allowable characters. Let’s keep it simple and restrict things to lowercase letters, although adding in numbers would be simple.</p>
<p>You all remember ASCII, right? This is a conversion table that has been used to represent numeric values for letters (and every other character on you keyboard, plus others) for a long, LONG time. You are slowly seeing ASCII encoding supplanted by Unicode as that table has a much larger address space and can handle non-Latin alphabets, but ASCII suits me just fine. We are going to use ASCII values and PowerShell’s range operator (..) to generate the list of allowable characters.</p>
<p>If you have worked with Vbscript, then you might know how to to ASCII conversions with the Chr() function. You give that function a number, and it spits out the ASCII value. The reverse is done with the Asc() function. In PowerShell, it’s not done the same way at all, so just forget that. Instead, what we are going to do is to convert back and forth between a “char” (character) .NET type. Chars are really sort of an in-between data type. They look like strings (i.e., it’s a letter), but they are very easily converted into integers.</p>
<p>So let’s take that knowledge and combine it with a technique called “casting”. To cast in PowerShell means to state that you want a particular value to be a certain data type. For example, if I have a number, and I want to make sure it is treated like a string in my script, I can cast it as a string like so:</p>
<div id="codeSnippetWrapper">
<pre id="codeSnippet" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">[string]12</pre>
</div>
<p>If you pipe that to Get-Member, you’ll see that the result is a string object, with all of the properties and methods which that type has, as opposed to the much more basic [int] type.</p>
<p>Moving on, let’s take the letter “a”, and the letter “z”, and turn it into a range containing all of the letters in between. PowerShell’s range operator can be used here, but it only works with integers. I could ask a search engine for an ASCII chart to get the numbers I need, but there’s no need, I’ll just convert from the letters directly.</p>
<p>Here’s how to convert a single letter into its ASCII number representation:</p>
<div id="codeSnippetWrapper">
<pre id="codeSnippet" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">PS &gt; [int][char]<span style="color: #006080">'a'</span></pre>
<pre id="codeSnippet" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">97</pre>
</div>
<p>What I am doing here is casting twice. Anything surrounded by single or double quotes is a string. I can convert any single letter (or symbol, or whatever) to a char data type by casting it as you can see. Then I take that char and cast it immediately to an integer, and as I said before, that’s an easy conversion for PowerShell to do because that’s the way chars types are wired.</p>
<p>Now we have our first integer. Just replace the ‘a’ with a ‘z’ and we have the second.</p>
<div id="codeSnippetWrapper">
<pre id="codeSnippet" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">PS &gt; [int][char]<span style="color: #006080">'z'</span></pre>
<pre id="codeSnippet" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">122</pre>
</div>
<p>These integers are going to be perfect as input to the Get-Random cmdlet. Here’s how to return random letters using Get-Random’s first mode:</p>
<div id="codeSnippetWrapper">
<pre id="codeSnippet" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">PS &gt; $min = [int][char]<span style="color: #006080">'a'</span></pre>
<pre id="codeSnippet" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">PS &gt; $max = [int][char]<span style="color: #006080">'z'</span></pre>
<pre id="codeSnippet" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">PS &gt; Get-Random -Minimum $min -Maximum $max</pre>
<pre id="codeSnippet" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">104</pre>
<pre id="codeSnippet" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">PS &gt; [char](Get-Random -Minimum $min -Maximum $max)</pre>
<pre id="codeSnippet" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">l</pre>
<pre id="codeSnippet" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">PS &gt; [char](Get-Random -Minimum $min -Maximum $max)</pre>
<pre id="codeSnippet" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">q</pre>
<pre id="codeSnippet" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">PS &gt; [char](Get-Random -Minimum $min -Maximum $max)</pre>
<pre id="codeSnippet" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">r</pre>
</div>
<p>As you can see, turning an integer back into a letter is pretty simple, you just cast it to a [char]. (The parentheses are necessary.) And you can also see a new random letter popping up at each execution of Get-Random. Great! So how do we make random words? Well, in the context of this blog post, a word consists of an array of characters. That makes sense, right? There are a few ways to go from here to create the requisite [char] array. I could create a for loop, and run the above command inside the loop.</p>
<p>However, there is an easier way. Let’s go back a step and have a look at Get-Random’s second mode. Here is a table showing the two parameter sets (output created with <a href="http://halr9000.com/article/507">my Get-Parameter script</a>):</p>
<pre class="csharpcode">   ParameterSet: RandomNumberParameterSet

Name    Type       IsMandatory Pipeline
----    ----       ----------- --------
SetSeed Nullable`1       False    False
Maximum Object           False    False
Minimum Object           False    False

   ParameterSet: RandomListItemParameterSet

Name        Type       IsMandatory Pipeline
----        ----       ----------- --------
SetSeed     Nullable`1       False    False
InputObject Object[]          True     True
Count       Int32            False    False</pre>
<p><!--.csharpcode, .csharpcode pre { 	font-size: small; 	color: black; 	font-family: consolas, "Courier New", courier, monospace; 	background-color: #ffffff; 	/*white-space: pre;*/ } .csharpcode pre { margin: 0em; } .csharpcode .rem { color: #008000; } .csharpcode .kwrd { color: #0000ff; } .csharpcode .str { color: #006080; } .csharpcode .op { color: #0000c0; } .csharpcode .preproc { color: #cc6633; } .csharpcode .asp { background-color: #ffff00; } .csharpcode .html { color: #800000; } .csharpcode .attr { color: #ff0000; } .csharpcode .alt  { 	background-color: #f4f4f4; 	width: 100%; 	margin: 0em; } .csharpcode .lnum { color: #606060; } --></p>
<p>We used Minimum and Maximum in the first mode. Now we are going to use InputObject and Count. This mode is really handy because you can supply an array of items (letters in this case) as input, and tell it how many random items to return as output! That means no loop, so the code is going to be much simpler.</p>
<p>First, let’s build an array of all lowercase letters. We already know the numeric values to use in the range, so let’s use those. I’m going to use a little trick to take the integer range and cast it in one step to an array of characters, which is exactly what we want:</p>
<div id="codeSnippetWrapper">
<pre id="codeSnippet" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">PS &gt; $alpha = [char[]]($min..$max)</pre>
<pre id="codeSnippet" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">PS &gt; $alpha | Select-Object -First 3</pre>
<pre id="codeSnippet" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">a</pre>
<pre id="codeSnippet" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">b</pre>
<pre id="codeSnippet" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">c</pre>
</div>
<p>We build the range with “$min..$max” and put that in parentheses. Then we cast it, but not as a single [char], but as an array of [char]’s by adding an empty set of brackets []. Now, the variable $alpha contains our input to Get-Random. The next step is easy, just pass this variable to the cmdlet and give it a count:</p>
<div id="codeSnippetWrapper">
<pre id="codeSnippet" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">PS &gt; $alpha | Get-Random -Count 5</pre>
<pre id="codeSnippet" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">t</pre>
<pre id="codeSnippet" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">f</pre>
<pre id="codeSnippet" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">a</pre>
<pre id="codeSnippet" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">b</pre>
<pre id="codeSnippet" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">c</pre>
</div>
<p>Presto! A five-letter word! Well…sorta. What we have is a series of characters, one per line. To turn this into adjacent characters we can cast the whole thing as a string.</p>
<div id="codeSnippetWrapper">
<pre id="codeSnippet" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">PS &gt; [string]( $alpha | Get-Random -Count 5 )</pre>
<pre id="codeSnippet" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">i h s p z</pre>
</div>
<p>Almost there, we just have to get rid of those extra spaces. The spaces are generated because of something called the “output format separator”, otherwise known as $OFS. This is a variable predefined by PowerShell to be a single space, but you can change it to whatever you want. Here’s that final step:</p>
<div id="codeSnippetWrapper">
<pre id="codeSnippet" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">PS &gt; $ofs = <span style="color: #006080">''</span></pre>
<pre id="codeSnippet" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">PS &gt; [string]( $alpha | Get-Random -Count 5 )</pre>
<pre id="codeSnippet" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">qfzwg</pre>
<pre id="codeSnippet" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">PS &gt; [string]( $alpha | Get-Random -Count 5 )</pre>
<pre id="codeSnippet" style="text-align: left; line-height: 12pt; background-color: #f4f4f4; margin: 0em; width: 100%; font-family: 'Courier New', courier, monospace; direction: ltr; color: black; font-size: 8pt; overflow: visible; border-style: none; padding: 0px;">dnhbq</pre>
</div>
<p>Now I am just a hop, skip, and a jump from generating random email addresses, but that’s enough for tonight.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/VbN9a4E3C2kI1oODUcNUFDTTZP8/0/da"><img src="http://feedads.g.doubleclick.net/~a/VbN9a4E3C2kI1oODUcNUFDTTZP8/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/VbN9a4E3C2kI1oODUcNUFDTTZP8/1/da"><img src="http://feedads.g.doubleclick.net/~a/VbN9a4E3C2kI1oODUcNUFDTTZP8/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/halr9000?a=XUQq5FmMdkA:s9T8Sz57ihE:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/halr9000?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/halr9000?a=XUQq5FmMdkA:s9T8Sz57ihE:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/halr9000?i=XUQq5FmMdkA:s9T8Sz57ihE:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/halr9000/~4/XUQq5FmMdkA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://halr9000.com/article/859/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://halr9000.com/article/859</feedburner:origLink></item>
		<item>
		<title>Which PowerShell Community (aka PoshComm) logo wins? [PIC]</title>
		<link>http://feedproxy.google.com/~r/halr9000/~3/XQ-vqV1rvlk/850</link>
		<comments>http://halr9000.com/article/850#comments</comments>
		<pubDate>Sat, 26 Dec 2009 04:01:40 +0000</pubDate>
		<dc:creator>halr9000</dc:creator>
				<category><![CDATA[Powershell]]></category>
		<category><![CDATA[poshcomm;logo]]></category>

		<guid isPermaLink="false">http://halr9000.com/article/850</guid>
		<description><![CDATA[
Please comment…
Logo1:

Logo 2:

]]></description>
			<content:encoded><![CDATA[<a href="http://halr9000.com/article/category/programming/scripting/powershell" title="Powershell"><img src="/wp-content/icons/topic_powershell.png" align="right" width="70" height="53" alt="Powershell" /></a>
<p>Please comment…</p>
<p>Logo1:<br />
<img class="alignnone size-full wp-image-851" title="logo1" src="http://halr9000.com/wp-content/uploads/2009/12/logo11.png" alt="logo1" width="500" height="243" /></p>
<p>Logo 2:<br />
<img class="alignnone size-full wp-image-852" title="logo3" src="http://halr9000.com/wp-content/uploads/2009/12/logo31.png" alt="logo3" width="412" height="130" /></p>

<p><a href="http://feedads.g.doubleclick.net/~a/GFYIssSgjcFM2y-QJRsqZ0WbXEc/0/da"><img src="http://feedads.g.doubleclick.net/~a/GFYIssSgjcFM2y-QJRsqZ0WbXEc/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/GFYIssSgjcFM2y-QJRsqZ0WbXEc/1/da"><img src="http://feedads.g.doubleclick.net/~a/GFYIssSgjcFM2y-QJRsqZ0WbXEc/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/halr9000?a=XQ-vqV1rvlk:Oq2depixfBQ:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/halr9000?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/halr9000?a=XQ-vqV1rvlk:Oq2depixfBQ:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/halr9000?i=XQ-vqV1rvlk:Oq2depixfBQ:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/halr9000/~4/XQ-vqV1rvlk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://halr9000.com/article/850/feed</wfw:commentRss>
		<slash:comments>13</slash:comments>
		<feedburner:origLink>http://halr9000.com/article/850</feedburner:origLink></item>
		<item>
		<title>PowerCLI Script: New-Farm</title>
		<link>http://feedproxy.google.com/~r/halr9000/~3/drwBCbIM-34/845</link>
		<comments>http://halr9000.com/article/845#comments</comments>
		<pubDate>Sat, 19 Dec 2009 18:34:47 +0000</pubDate>
		<dc:creator>halr9000</dc:creator>
				<category><![CDATA[Powershell]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[powercli]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://halr9000.com/article/845</guid>
		<description><![CDATA[
This is a sample script that I created to show how you might create a relatively complex virtual farm environment. The hypothetical requirements for this farm are:

Add 10 ESX servers to a vCenter, one for each customer
Create a resource pool for each customer
Inside each of these, create a resource pool for each server role, and [...]]]></description>
			<content:encoded><![CDATA[<a href="http://halr9000.com/article/category/programming/scripting/powershell" title="Powershell"><img src="/wp-content/icons/topic_powershell.png" align="right" width="70" height="53" alt="Powershell" /></a>
<!-- no icon for 'VMware' --><p>This is a sample script that I created to show how you might create a relatively complex virtual farm environment. The hypothetical requirements for this farm are:</p>
<ol>
<li>Add 10 ESX servers to a vCenter, one for each customer</li>
<li>Create a resource pool for each customer</li>
<li>Inside each of these, create a resource pool for each server role, and a specified number of virtual machines, based on previously-created VM templates
<ol>
<li>2 x proxy server</li>
<li>4 x web server</li>
<li>2 x app server</li>
<li>2 x database server</li>
</ol>
</li>
</ol>
<p>I hope you find the script useful!</p>
<p><script type="text/javascript" src="http://PoshCode.org/embed/1547"></script></p>

<p><a href="http://feedads.g.doubleclick.net/~a/nfkLV1h3J0LKxMvpe8ElYuwAzwU/0/da"><img src="http://feedads.g.doubleclick.net/~a/nfkLV1h3J0LKxMvpe8ElYuwAzwU/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/nfkLV1h3J0LKxMvpe8ElYuwAzwU/1/da"><img src="http://feedads.g.doubleclick.net/~a/nfkLV1h3J0LKxMvpe8ElYuwAzwU/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/halr9000?a=drwBCbIM-34:UCYoHorLnNY:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/halr9000?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/halr9000?a=drwBCbIM-34:UCYoHorLnNY:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/halr9000?i=drwBCbIM-34:UCYoHorLnNY:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/halr9000/~4/drwBCbIM-34" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://halr9000.com/article/845/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://halr9000.com/article/845</feedburner:origLink></item>
		<item>
		<title>Big Thoughts Need Planning</title>
		<link>http://feedproxy.google.com/~r/halr9000/~3/F5nmEoXoR4w/844</link>
		<comments>http://halr9000.com/article/844#comments</comments>
		<pubDate>Wed, 16 Dec 2009 04:21:33 +0000</pubDate>
		<dc:creator>halr9000</dc:creator>
				<category><![CDATA[Scripting]]></category>

		<guid isPermaLink="false">http://halr9000.com/article/844</guid>
		<description><![CDATA[Just a quick post to get your comments. What do you think about this slide? Am I missing anything that needs mentioning here?
&#160;
P.S. Office “Smart Art” FTW
]]></description>
			<content:encoded><![CDATA[<!-- no icon for 'Scripting' --><p>Just a quick post to get your comments. What do you think about this slide? Am I missing anything that needs mentioning here?</p>
<p><a href="http://halr9000.com/wp-content/uploads/2009/12/image.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://halr9000.com/wp-content/uploads/2009/12/image_thumb.png" width="486" height="214" /></a>&#160;</p>
<p>P.S. Office “Smart Art” FTW</p>

<p><a href="http://feedads.g.doubleclick.net/~a/r6cKI3ExQJFCu08sppD8tB7dAnc/0/da"><img src="http://feedads.g.doubleclick.net/~a/r6cKI3ExQJFCu08sppD8tB7dAnc/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/r6cKI3ExQJFCu08sppD8tB7dAnc/1/da"><img src="http://feedads.g.doubleclick.net/~a/r6cKI3ExQJFCu08sppD8tB7dAnc/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/halr9000?a=F5nmEoXoR4w:gRLWzyo2Ou0:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/halr9000?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/halr9000?a=F5nmEoXoR4w:gRLWzyo2Ou0:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/halr9000?i=F5nmEoXoR4w:gRLWzyo2Ou0:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/halr9000/~4/F5nmEoXoR4w" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://halr9000.com/article/844/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://halr9000.com/article/844</feedburner:origLink></item>
		<item>
		<title>Working with STDERR in PowerShell</title>
		<link>http://feedproxy.google.com/~r/halr9000/~3/D0KT_VB7-Gc/837</link>
		<comments>http://halr9000.com/article/837#comments</comments>
		<pubDate>Tue, 01 Dec 2009 20:38:58 +0000</pubDate>
		<dc:creator>halr9000</dc:creator>
				<category><![CDATA[Powershell]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://halr9000.com/article/837</guid>
		<description><![CDATA[
A co-worker today asked me how he could redirect output from an external executable into a variable. Seemed easy enough, you just do this:
$var = mycmd.exe
He tried it and got back a $null for his trouble. Turned out, the executable was writing to the error stream (STDERR) instead of STDOUT. Now, the question came up [...]]]></description>
			<content:encoded><![CDATA[<a href="http://halr9000.com/article/category/programming/scripting/powershell" title="Powershell"><img src="/wp-content/icons/topic_powershell.png" align="right" width="70" height="53" alt="Powershell" /></a>
<p>A co-worker today asked me how he could redirect output from an external executable into a variable. Seemed easy enough, you just do this:</p>
<p>$var = mycmd.exe</p>
<p>He tried it and got back a $null for his trouble. Turned out, the executable was writing to the error stream (STDERR) instead of STDOUT. Now, the question came up of how to capture that information.</p>
<p>We had to get a little old school because this is a DOS convention (well, much older than that but anyway) and has nothing to do with PowerShell. The answer wasn’t hard, but the response wasn’t what we expected. Observe:</p>
<div class="wlWriterEditableSmartContent" id="scid:f32c3428-b7e9-4f15-a8ea-c502c7ff2e88:7ab7858a-1c0e-4e1e-adba-e831507d7191" style="padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px">
<pre class="brush: powershell">PS &gt; $a = netstat bob 2&gt;&amp;1 # cause intentional err and redirect
PS &gt; $a.GetType()

IsPublic IsSerial Name                                     BaseType
-------- -------- ----                                     --------
True     True     Object[]                                 System.Array

PS &gt; $a[0].GetType()

IsPublic IsSerial Name                                     BaseType
-------- -------- ----                                     --------
True     True     ErrorRecord                              System.Object</pre>
</div>
<p>I used “2&gt;&amp;1” to redirect the STDERR stream to the STDOUT stream. Worked fine, however when we tried to work with the results we found that it wasn’t a string array. Instead, as you see above, it is an array of ErrorRecord objects! In hindsight, that made sense to me. I mean, what else would you expect in the error stream but errors?</p>
<p>Anyway, long story short, the way to access the text inside of these error objects is by accessing the Exception property. But it was slightly more complex, as what you get is TWO errors. One with the “powershelly” NativeCommandError, and the second with the text that we needed. For example:</p>
<div class="wlWriterEditableSmartContent" id="scid:f32c3428-b7e9-4f15-a8ea-c502c7ff2e88:2a4e4f5a-62e3-4460-9909-b4ff59af606a" style="padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px">
<pre class="brush: powershell">PS &gt; $a[0]
netstat.exe :
At line:1 char:13
+ $a = netstat &lt;&lt;&lt;&lt;  bob 2&gt;&amp;1 # cause intentional err and redirect
    + CategoryInfo          : NotSpecified: (:String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError

PS &gt; $a[1].Exception
Displays protocol statistics and current TCP/IP network connections.

NETSTAT [-a] [-b] [-e] [-n] [-o] [-p proto] [-r] [-s] [-v] [interval]</pre>
</div>

<p><a href="http://feedads.g.doubleclick.net/~a/PcXcSAVGGEJGNY3GGSyhaNmzSI0/0/da"><img src="http://feedads.g.doubleclick.net/~a/PcXcSAVGGEJGNY3GGSyhaNmzSI0/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/PcXcSAVGGEJGNY3GGSyhaNmzSI0/1/da"><img src="http://feedads.g.doubleclick.net/~a/PcXcSAVGGEJGNY3GGSyhaNmzSI0/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/halr9000?a=D0KT_VB7-Gc:EVlBn52mVKs:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/halr9000?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/halr9000?a=D0KT_VB7-Gc:EVlBn52mVKs:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/halr9000?i=D0KT_VB7-Gc:EVlBn52mVKs:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/halr9000/~4/D0KT_VB7-Gc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://halr9000.com/article/837/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://halr9000.com/article/837</feedburner:origLink></item>
		<item>
		<title>Quick Outlook Automation Examples</title>
		<link>http://feedproxy.google.com/~r/halr9000/~3/HVzBh690E3g/836</link>
		<comments>http://halr9000.com/article/836#comments</comments>
		<pubDate>Fri, 20 Nov 2009 14:15:29 +0000</pubDate>
		<dc:creator>halr9000</dc:creator>
				<category><![CDATA[Powershell]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[outlook]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://halr9000.com/article/836</guid>
		<description><![CDATA[

PowerShell is so cool…
I had no idea how to automate Outlook with COM before today. Took me about 5 minutes to learn how with PowerShell. I knew it could be done with VBS, right? That’s how viruses are made.  
This won’t be a long blog unfortunately, but wanted to paste real quick a series [...]]]></description>
			<content:encoded><![CDATA[<a href="http://halr9000.com/article/category/programming/scripting/powershell" title="Powershell"><img src="/wp-content/icons/topic_powershell.png" align="right" width="70" height="53" alt="Powershell" /></a>
<a href="http://halr9000.com/article/category/software/windows" title="Windows"><img src="/wp-content/icons/topic_windows.gif" align="right" width="54" height="46" alt="Windows" /></a>
<p>PowerShell is so cool…</p>
<p>I had no idea how to automate Outlook with COM before today. Took me about 5 minutes to learn how with PowerShell. I knew it could be done with VBS, right? That’s how viruses are made. <img src='http://halr9000.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>This won’t be a long blog unfortunately, but wanted to paste real quick a series of commands which I basically figured out in a shell interactively. I didn’t have to read any docs, Get-Member told me all I needed to know.</p>
<p>I did go back and add some comments. I hope you find it useful.</p>
<div id="codeSnippetWrapper" style="border-right: silver 1px solid; padding-right: 4px; border-top: silver 1px solid; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; margin: 20px 0px 10px; overflow: auto; border-left: silver 1px solid; width: 97.5%; cursor: text; direction: ltr; line-height: 12pt; padding-top: 4px; border-bottom: silver 1px solid; font-family: &#39;Courier New&#39;, courier, monospace; background-color: #f4f4f4; text-align: left; max-height: 200px">
<div id="codeSnippet" style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; text-align: left; border-bottom-style: none">
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; text-align: left; border-bottom-style: none">$ol = New-Object -com Outlook.Application <span style="color: #008000"># starts outlook</span></pre>
<p><!--CRLF--></p>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; text-align: left; border-bottom-style: none">$ol.Reminders | select caption, nextreminderdate <span style="color: #008000"># show reminders</span></pre>
<p><!--CRLF--></p>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; text-align: left; border-bottom-style: none">$ol | gm -mem method <span style="color: #008000"># show all methods (actions) on the com object</span></pre>
<p><!--CRLF--></p>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; text-align: left; border-bottom-style: none">$n = $ol.CreateItem(<span style="color: #006080">'olNoteItem'</span>) <span style="color: #008000"># creates a note</span></pre>
<p><!--CRLF--></p>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; text-align: left; border-bottom-style: none">$n <span style="color: #008000"># display note object</span></pre>
<p><!--CRLF--></p>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; text-align: left; border-bottom-style: none">$n.Body = <span style="color: #006080">'test'</span> <span style="color: #008000"># set body of note</span></pre>
<p><!--CRLF--></p>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; text-align: left; border-bottom-style: none">$n | gm <span style="color: #008000"># display object members (methods &amp; properties) of note</span></pre>
<p><!--CRLF--></p>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; text-align: left; border-bottom-style: none">$n.Display() <span style="color: #008000"># show note</span></pre>
<p><!--CRLF--></p>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; text-align: left; border-bottom-style: none">$n.Color <span style="color: #008000"># display color value</span></pre>
<p><!--CRLF--></p>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; text-align: left; border-bottom-style: none">$n.Color = 4 <span style="color: #008000"># set color</span></pre>
<p><!--CRLF--></p>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; text-align: left; border-bottom-style: none">1..5 | ForEach-Object { $n.Color = $_; sleep 1 } <span style="color: #008000"># change color of note 5 times</span></pre>
<p><!--CRLF--></p>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; text-align: left; border-bottom-style: none">$m = $ol.CreateItem(<span style="color: #006080">'olMailItem'</span>) <span style="color: #008000"># create mail object</span></pre>
<p><!--CRLF--></p>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; text-align: left; border-bottom-style: none">$m <span style="color: #008000"># display mail object</span></pre>
<p><!--CRLF--></p>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; text-align: left; border-bottom-style: none">$m | gm -mem property <span style="color: #008000"># show mail properties</span></pre>
<p><!--CRLF--></p>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; text-align: left; border-bottom-style: none">$m.Subject = <span style="color: #006080">'test'</span> <span style="color: #008000"># set subject</span></pre>
<p><!--CRLF--></p>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; text-align: left; border-bottom-style: none">$m.Body = <span style="color: #006080">'test'</span> <span style="color: #008000"># set body</span></pre>
<p><!--CRLF--></p>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; text-align: left; border-bottom-style: none">$m.To = <span style="color: #006080">'email@domain.com'</span> <span style="color: #008000"># set to address</span></pre>
<p><!--CRLF--></p>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; text-align: left; border-bottom-style: none">$m.Display() <span style="color: #008000"># display mail item on screen </span></pre>
<p><!--CRLF--></p>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; text-align: left; border-bottom-style: none">$m.Send() <span style="color: #008000"># send mail item</span></pre>
<p><!--CRLF--></p>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; text-align: left; border-bottom-style: none">$ol <span style="color: #008000"># display outlook object</span></pre>
<p><!--CRLF--></p>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; text-align: left; border-bottom-style: none">$ol | gm # display outlook methods</pre>
<p><!--CRLF--></div>
</div>

<p><a href="http://feedads.g.doubleclick.net/~a/IBhGpeZTIYwlQLgZpuLEitL-U5M/0/da"><img src="http://feedads.g.doubleclick.net/~a/IBhGpeZTIYwlQLgZpuLEitL-U5M/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/IBhGpeZTIYwlQLgZpuLEitL-U5M/1/da"><img src="http://feedads.g.doubleclick.net/~a/IBhGpeZTIYwlQLgZpuLEitL-U5M/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/halr9000?a=HVzBh690E3g:oXsI6ql4n1g:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/halr9000?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/halr9000?a=HVzBh690E3g:oXsI6ql4n1g:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/halr9000?i=HVzBh690E3g:oXsI6ql4n1g:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/halr9000/~4/HVzBh690E3g" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://halr9000.com/article/836/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://halr9000.com/article/836</feedburner:origLink></item>
		<item>
		<title>Fix for PowerShell v2 on XP related crashes in MSCORSVW.DLL</title>
		<link>http://feedproxy.google.com/~r/halr9000/~3/lpJcO-YSOlY/833</link>
		<comments>http://halr9000.com/article/833#comments</comments>
		<pubDate>Fri, 30 Oct 2009 15:35:19 +0000</pubDate>
		<dc:creator>halr9000</dc:creator>
				<category><![CDATA[Powershell]]></category>

		<guid isPermaLink="false">http://halr9000.com/article/833</guid>
		<description><![CDATA[
If you are seeing crashes in MSCORSVW.DLL, try this, it may help (and it won’t hurt):
Start-Job {   &#160;&#160;&#160; Set-Alias ngen (dir (join-path ${env:\windir} &#34;Microsoft.NET\Framework&#34;) ngen.exe -recurse &#124;    &#160;&#160;&#160; sort -descending lastwritetime    &#160;&#160;&#160; )[0].fullName    &#160;&#160;&#160; ngen executequeueditems     }
For more details, see [...]]]></description>
			<content:encoded><![CDATA[<a href="http://halr9000.com/article/category/programming/scripting/powershell" title="Powershell"><img src="/wp-content/icons/topic_powershell.png" align="right" width="70" height="53" alt="Powershell" /></a>
<p>If you are seeing crashes in MSCORSVW.DLL, try this, it may help (and it won’t hurt):</p>
<p>Start-Job {   <br />&#160;&#160;&#160; Set-Alias ngen (dir (join-path ${env:\windir} &quot;Microsoft.NET\Framework&quot;) ngen.exe -recurse |    <br />&#160;&#160;&#160; sort -descending lastwritetime    <br />&#160;&#160;&#160; )[0].fullName    <br />&#160;&#160;&#160; ngen executequeueditems     <br />}</p>
<p>For more details, see this Connect bug:</p>
<ul>
<li><a href="https://connect.microsoft.com/windowsmanagement/feedback/ViewFeedback.aspx?FeedbackID=489576">Uninstalling KB968380 RC in XP/Srv2003 causes .NET Runtime Optimization Service to crash</a> </li>
</ul>

<p><a href="http://feedads.g.doubleclick.net/~a/udvoTSoZb-8M5V2kjfk_gpmmx3Y/0/da"><img src="http://feedads.g.doubleclick.net/~a/udvoTSoZb-8M5V2kjfk_gpmmx3Y/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/udvoTSoZb-8M5V2kjfk_gpmmx3Y/1/da"><img src="http://feedads.g.doubleclick.net/~a/udvoTSoZb-8M5V2kjfk_gpmmx3Y/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/halr9000?a=lpJcO-YSOlY:V6ouzLgmrEw:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/halr9000?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/halr9000?a=lpJcO-YSOlY:V6ouzLgmrEw:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/halr9000?i=lpJcO-YSOlY:V6ouzLgmrEw:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/halr9000/~4/lpJcO-YSOlY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://halr9000.com/article/833/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://halr9000.com/article/833</feedburner:origLink></item>
		<item>
		<title>A TON of stuff to check out in the new PowerShell Pack!</title>
		<link>http://feedproxy.google.com/~r/halr9000/~3/g6jnvelpXZQ/832</link>
		<comments>http://halr9000.com/article/832#comments</comments>
		<pubDate>Sun, 18 Oct 2009 17:20:56 +0000</pubDate>
		<dc:creator>halr9000</dc:creator>
				<category><![CDATA[Powershell]]></category>
		<category><![CDATA[module]]></category>
		<category><![CDATA[PowerShell Pack]]></category>
		<category><![CDATA[Resource Kit]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://halr9000.com/article/832</guid>
		<description><![CDATA[
If you haven’t already, run, do not walk to the MSDN Code Gallery to grab the PowerShell Pack (a part of the upcoming Windows 7 Resource Kit).
As announced on the PowerShell team blog, and discussed at great length on Episode 88 of the PowerScripting Podcast, the PowerShell Pack is a set of ten modules, nested [...]]]></description>
			<content:encoded><![CDATA[<a href="http://halr9000.com/article/category/programming/scripting/powershell" title="Powershell"><img src="/wp-content/icons/topic_powershell.png" align="right" width="70" height="53" alt="Powershell" /></a>
<p>If you haven’t already, run, do not walk to the MSDN Code Gallery to grab the <a href="http://code.msdn.microsoft.com/PowerShellPack">PowerShell Pack</a> (a part of the upcoming <a href="http://www.microsoft.com/learning/en/us/Books.aspx?Id=13811&amp;locale=en-us">Windows 7 Resource Kit</a>).</p>
<p><a href="http://blogs.msdn.com/powershell/archive/2009/10/15/introducing-the-windows-7-resource-kit-powershell-pack.aspx">As announced</a> on the PowerShell team blog, and discussed at great length on <a href="http://powerscripting.net">Episode 88 of the PowerScripting Podcast</a>, the PowerShell Pack is a set of ten modules, nested into one for ease of installation. There is a ton of great stuff in here. I wrote up a bit of code to list all of the included functions:</p>
<div style="border-bottom: silver 1px solid; text-align: left; border-left: silver 1px solid; padding-bottom: 4px; line-height: 12pt; background-color: #f4f4f4; margin: 20px 0px 10px; padding-left: 4px; width: 97.5%; padding-right: 4px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; max-height: 200px; font-size: 8pt; overflow: auto; border-top: silver 1px solid; cursor: text; border-right: silver 1px solid; padding-top: 4px" id="codeSnippetWrapper">
<div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet">
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">$m = Get-Module PowerShellPack</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">$n = $m.NestedModules | Where-Object { $_.Name <span style="color: #cc6633">-ne</span> <span style="color: #006080">'WPK'</span> } </pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"><span style="color: #0000ff">foreach</span> ( $module <span style="color: #0000ff">in</span> $n ) {</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">    Write-Host -ForegroundColor Green <span style="color: #006080">&quot;Module: $( $module.name )&quot;</span> -NoNewline</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">    $module.ExportedCommands.Values | Sort-Object Name | Format-Wide Name</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">}</pre>
<p><!--CRLF--></div>
</div>
<p>As you see in the Where-Object clause there, I am excluding the WPK module. The reason is simply due to the nature of that module, it has hundreds of functions and is really deserving of its own blog post—or book for that matter.</p>
<p>I’m not going to list the full output because I think that’s just cheesy Google gaming, but I will leave you with a teaser:</p>
<div id="codeSnippetWrapper">
<div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet">
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">PS &gt; Get-Module powershellpack | select -ExpandProperty NestedModules</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">&#160;</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">ModuleType Name                      ExportedCommands</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">---------- ----                      ----------------</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">Script     IsePack                   {Push-CurrentFileLocation, Select-CurrentTextAsVariable, C...</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">Script     TaskScheduler             {Remove-Task, Get-ScheduledTask, Stop-Task, Add-TaskTrigge...</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">Script     WPK                       {Get-DependencyProperty, New-ModelVisual3D, New-DiscreteVe...</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">Script     FileSystem                {Get-FreeDiskSpace, New-Zip, Resolve-ShortcutFile, Mount-S...</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">Script     DotNet                    {Get-CommandWithParameterType, Get-ProgID, Get-Type}</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">Script     PSImageTools              {Add-CropFilter, Add-RotateFlipFilter, Add-OverlayFilter, ...</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">Script     PSRss                     {Read-Article, New-Feed, Remove-Article, Remove-Feed...}</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">Script     PSCodeGen                 {New-Enum, New-ScriptCmdlet, New-PInvoke}</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">Script     PSUserTools               {Start-ProcessAsAdministrator, Get-CurrentUser, Test-IsAdm...</pre>
<p><!--CRLF--></p>
<pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: &#39;Courier New&#39;, courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px">Script     PSSystemTools             {Test-32Bit, Get-USB, Get-OSVersion, Get-MultiTouchMaximum...</pre>
<p><!--CRLF--></div>
</div>

<p><a href="http://feedads.g.doubleclick.net/~a/0IiV7m2HB8uHWgszVu-0r26hQBg/0/da"><img src="http://feedads.g.doubleclick.net/~a/0IiV7m2HB8uHWgszVu-0r26hQBg/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/0IiV7m2HB8uHWgszVu-0r26hQBg/1/da"><img src="http://feedads.g.doubleclick.net/~a/0IiV7m2HB8uHWgszVu-0r26hQBg/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/halr9000?a=g6jnvelpXZQ:YpSZ-167x-E:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/halr9000?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/halr9000?a=g6jnvelpXZQ:YpSZ-167x-E:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/halr9000?i=g6jnvelpXZQ:YpSZ-167x-E:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/halr9000/~4/g6jnvelpXZQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://halr9000.com/article/832/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://halr9000.com/article/832</feedburner:origLink></item>
		<item>
		<title>PowerShell One-Liner: Get-PrimaryIPAddress</title>
		<link>http://feedproxy.google.com/~r/halr9000/~3/C6lV51Qjukc/829</link>
		<comments>http://halr9000.com/article/829#comments</comments>
		<pubDate>Fri, 09 Oct 2009 19:13:43 +0000</pubDate>
		<dc:creator>halr9000</dc:creator>
				<category><![CDATA[Powershell]]></category>
		<category><![CDATA[ip address]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[one-liner]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://halr9000.com/article/829</guid>
		<description><![CDATA[
Update @ 3:58 pm: At risk of losing the one-liner nomenclature at a very worthwhile increase in speed, read below.
The One-Liner WMI Version
One-liner to retrieve the first IP address of the first adapter which has a default gateway set. This is a very reliable, yet not perfect technique for determining the &#34;right&#34; IP address. It [...]]]></description>
			<content:encoded><![CDATA[<a href="http://halr9000.com/article/category/programming/scripting/powershell" title="Powershell"><img src="/wp-content/icons/topic_powershell.png" align="right" width="70" height="53" alt="Powershell" /></a>
<p><strong>Update @ 3:58 pm</strong>: At risk of losing the one-liner nomenclature at a very worthwhile increase in speed, read below.</p>
<h2>The One-Liner WMI Version</h2>
<p>One-liner to retrieve the first IP address of the first adapter which has a default gateway set. This is a very reliable, yet not perfect technique for determining the &quot;right&quot; IP address. It will work well in all but the most complex of network configuration scenarios.</p>
<div id="codeSnippetWrapper" style="border-right: silver 1px solid; padding-right: 4px; border-top: silver 1px solid; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; margin: 20px 0px 10px; overflow: auto; border-left: silver 1px solid; width: 97.5%; cursor: text; direction: ltr; line-height: 12pt; padding-top: 4px; border-bottom: silver 1px solid; font-family: &#39;Courier New&#39;, courier, monospace; background-color: #f4f4f4; text-align: left; max-height: 200px">
<pre id="codeSnippet" style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; text-align: left; border-bottom-style: none">@( Get-WmiObject Win32_NetworkAdapterConfiguration | Where-Object { $_.DefaultIpGateway } )[0].IPAddress[0]</pre>
<p></div>
</p>
<p>Note that I have used the @() array notation around the Get-WmiObject call so that I don’t have to worry about how many network adapters come back. If only one comes back, I have an array with one item. If I didn’t do this, then I would have to do an if statement to check whether it’s an array (meaning that the system has multiple NICs with default gateways—which is super-rare but possible).</p>
<h2>The .NET Class Method</h2>
<p>It’s no longer a single line, but honestly, length is not a measure of quality in scripting. I noticed that the above WMI call was noticeably sluggish. Measurements with <a href="http://www.microsoft.com/technet/scriptcenter/topics/msh/cmdlets/measure-command.mspx">Measure-Command</a> cmdlet showed an average execution time of <strong>455 milliseconds</strong>. Here’s a different way using the <a href="http://msdn.microsoft.com/en-us/library/system.net.networkinformation.networkinterface.getallnetworkinterfaces.aspx">Net.NetworkInformation.NetworkInterface</a> .NET class.</p>
<div id="codeSnippetWrapper" style="border-right: silver 1px solid; padding-right: 4px; border-top: silver 1px solid; padding-left: 4px; font-size: 8pt; padding-bottom: 4px; margin: 20px 0px 10px; overflow: auto; border-left: silver 1px solid; width: 97.5%; cursor: text; direction: ltr; line-height: 12pt; padding-top: 4px; border-bottom: silver 1px solid; font-family: &#39;Courier New&#39;, courier, monospace; background-color: #f4f4f4; text-align: left; max-height: 200px">
<div id="codeSnippet" style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; text-align: left; border-bottom-style: none">
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; text-align: left; border-bottom-style: none">$allNIC = [system.Net.NetworkInformation.NetworkInterface]::GetAllNetworkInterfaces()</pre>
<p><!--CRLF--></p>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: #f4f4f4; text-align: left; border-bottom-style: none">$PrimaryNIC = $allNIC | Where-Object { $_.GetIPProperties().GatewayAddresses }</pre>
<p><!--CRLF--></p>
<pre style="padding-right: 0px; padding-left: 0px; font-size: 8pt; padding-bottom: 0px; margin: 0em; overflow: visible; width: 100%; color: black; direction: ltr; border-top-style: none; line-height: 12pt; padding-top: 0px; font-family: &#39;Courier New&#39;, courier, monospace; border-right-style: none; border-left-style: none; background-color: white; text-align: left; border-bottom-style: none">$PrimaryNIC.GetIPProperties().UnicastAddresses[0].Address.IPAddressToString</pre>
<p><!--CRLF--></div>
</div>
<p>New time averages <strong>13 milliseconds</strong> on my system. That’s a huge difference which I was not surprised to see based on past experience.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/w2oWMaFxdO1FGWwDz74_1u81gjY/0/da"><img src="http://feedads.g.doubleclick.net/~a/w2oWMaFxdO1FGWwDz74_1u81gjY/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/w2oWMaFxdO1FGWwDz74_1u81gjY/1/da"><img src="http://feedads.g.doubleclick.net/~a/w2oWMaFxdO1FGWwDz74_1u81gjY/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/halr9000?a=C6lV51Qjukc:tRlBuJs3e7Q:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/halr9000?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/halr9000?a=C6lV51Qjukc:tRlBuJs3e7Q:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/halr9000?i=C6lV51Qjukc:tRlBuJs3e7Q:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/halr9000/~4/C6lV51Qjukc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://halr9000.com/article/829/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://halr9000.com/article/829</feedburner:origLink></item>
		<item>
		<title>Adding Port Groups with PowerCLI</title>
		<link>http://feedproxy.google.com/~r/halr9000/~3/hcxUIAdKMCc/828</link>
		<comments>http://halr9000.com/article/828#comments</comments>
		<pubDate>Fri, 02 Oct 2009 12:22:09 +0000</pubDate>
		<dc:creator>halr9000</dc:creator>
				<category><![CDATA[Powershell]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[portgroup]]></category>
		<category><![CDATA[powercli]]></category>
		<category><![CDATA[virtual networking]]></category>

		<guid isPermaLink="false">http://halr9000.com/article/828</guid>
		<description><![CDATA[
David at the Holy VM! blog just put up an article with a script showing you how to create port groups using PowerCLI. He was kind enough to reference my book as inspiration, so the least I can do in return is link to it.  
Be sure to follow David’s blog, I see several [...]]]></description>
			<content:encoded><![CDATA[<a href="http://halr9000.com/article/category/programming/scripting/powershell" title="Powershell"><img src="/wp-content/icons/topic_powershell.png" align="right" width="70" height="53" alt="Powershell" /></a>
<!-- no icon for 'VMware' --><p>David at the <a href="http://www.holy-vm.com/">Holy VM!</a> blog just put up an article with a script showing you how to <a href="http://www.holy-vm.com/2009/10/01/adding-port-groups-with-powercli/">create port groups using PowerCLI</a>. He was kind enough to reference my book as inspiration, so the least I can do in return is link to it. <img src='http://halr9000.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Be sure to follow David’s blog, I see several interesting posts on there recently about his experiences with vSphere.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/2C8hFgtxT88_AmxE8yIvu0x1854/0/da"><img src="http://feedads.g.doubleclick.net/~a/2C8hFgtxT88_AmxE8yIvu0x1854/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/2C8hFgtxT88_AmxE8yIvu0x1854/1/da"><img src="http://feedads.g.doubleclick.net/~a/2C8hFgtxT88_AmxE8yIvu0x1854/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/halr9000?a=hcxUIAdKMCc:FoD6-mJkgiE:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/halr9000?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/halr9000?a=hcxUIAdKMCc:FoD6-mJkgiE:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/halr9000?i=hcxUIAdKMCc:FoD6-mJkgiE:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/halr9000/~4/hcxUIAdKMCc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://halr9000.com/article/828/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://halr9000.com/article/828</feedburner:origLink></item>
		<item>
		<title>Twitter Updates for 2009-10-01</title>
		<link>http://feedproxy.google.com/~r/halr9000/~3/DDzA_ZTiA_M/827</link>
		<comments>http://halr9000.com/article/827#comments</comments>
		<pubDate>Thu, 01 Oct 2009 16:48:00 +0000</pubDate>
		<dc:creator>halr9000</dc:creator>
				<category><![CDATA[asides]]></category>
		<category><![CDATA[tweets]]></category>

		<guid isPermaLink="false">http://halr9000.com/article/827</guid>
		<description><![CDATA[
heh, &#34;Down Under&#34; by Men at Work came up on the ipod. #
Happy Birthday to @jsnover! http://www.facebook.com/jsnover #
Incompatible Browser &#124; Facebook http://ff.im/-92L1A #
writing some docs for ganglia #
Just got my renewal notification: I&#39;m a Microsoft PowerShell MVP for another year! #

Powered by Twitter Tools
]]></description>
			<content:encoded><![CDATA[<!-- no icon for 'asides' --><ul class="aktt_tweet_digest">
<li>heh, &quot;Down Under&quot; by Men at Work came up on the ipod. <a href="http://twitter.com/halr9000/statuses/4502894423" class="aktt_tweet_time">#</a></li>
<li>Happy Birthday to @jsnover! <a href="http://www.facebook.com/jsnover" rel="nofollow">http://www.facebook.com/jsnover</a> <a href="http://twitter.com/halr9000/statuses/4522981788" class="aktt_tweet_time">#</a></li>
<li>Incompatible Browser | Facebook <a href="http://ff.im/-92L1A" rel="nofollow">http://ff.im/-92L1A</a> <a href="http://twitter.com/halr9000/statuses/4524385595" class="aktt_tweet_time">#</a></li>
<li>writing some docs for ganglia <a href="http://twitter.com/halr9000/statuses/4526689374" class="aktt_tweet_time">#</a></li>
<li>Just got my renewal notification: I&#39;m a Microsoft PowerShell MVP for another year! <a href="http://twitter.com/halr9000/statuses/4526712729" class="aktt_tweet_time">#</a></li>
</ul>
<p class="aktt_credit">Powered by <a href="http://alexking.org/projects/wordpress">Twitter Tools</a></p>

<p><a href="http://feedads.g.doubleclick.net/~a/yZXKRO4yz2nORgUZ2ikdm2_TsI8/0/da"><img src="http://feedads.g.doubleclick.net/~a/yZXKRO4yz2nORgUZ2ikdm2_TsI8/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/yZXKRO4yz2nORgUZ2ikdm2_TsI8/1/da"><img src="http://feedads.g.doubleclick.net/~a/yZXKRO4yz2nORgUZ2ikdm2_TsI8/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/halr9000?a=DDzA_ZTiA_M:9XutHwC9WWU:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/halr9000?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/halr9000?a=DDzA_ZTiA_M:9XutHwC9WWU:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/halr9000?i=DDzA_ZTiA_M:9XutHwC9WWU:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/halr9000/~4/DDzA_ZTiA_M" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://halr9000.com/article/827/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://halr9000.com/article/827</feedburner:origLink></item>
		<item>
		<title>Twitter Updates for 2009-09-30</title>
		<link>http://feedproxy.google.com/~r/halr9000/~3/hBCKym9r7GQ/826</link>
		<comments>http://halr9000.com/article/826#comments</comments>
		<pubDate>Wed, 30 Sep 2009 16:48:00 +0000</pubDate>
		<dc:creator>halr9000</dc:creator>
				<category><![CDATA[asides]]></category>
		<category><![CDATA[tweets]]></category>

		<guid isPermaLink="false">http://halr9000.com/article/826</guid>
		<description><![CDATA[
PoshBoard 2.0 Available http://ff.im/-8Vug2 #
PoshBoard 2.0 Available http://ff.im/-8Vug1 #
RT @ryanblock: Okay. I&#39;ve been here friggin&#39; 20 minutes and I&#39;ve already spotted Ron Jeremy in my hotel. #
RT @GetScripting: Next week we will be talking to the man behind PoshBoard who has been working on an updated release. #
Inbox ZERO! #fb #
PowerShell Code Repository &#8211; Get [...]]]></description>
			<content:encoded><![CDATA[<!-- no icon for 'asides' --><ul class="aktt_tweet_digest">
<li>PoshBoard 2.0 Available <a href="http://ff.im/-8Vug2" rel="nofollow">http://ff.im/-8Vug2</a> <a href="http://twitter.com/halr9000/statuses/4474275838" class="aktt_tweet_time">#</a></li>
<li>PoshBoard 2.0 Available <a href="http://ff.im/-8Vug1" rel="nofollow">http://ff.im/-8Vug1</a> <a href="http://twitter.com/halr9000/statuses/4474275805" class="aktt_tweet_time">#</a></li>
<li>RT @ryanblock: Okay. I&#39;ve been here friggin&#39; 20 minutes and I&#39;ve already spotted Ron Jeremy in my hotel. <a href="http://twitter.com/halr9000/statuses/4475931651" class="aktt_tweet_time">#</a></li>
<li>RT @GetScripting: Next week we will be talking to the man behind PoshBoard who has been working on an updated release. <a href="http://twitter.com/halr9000/statuses/4476302299" class="aktt_tweet_time">#</a></li>
<li>Inbox ZERO! #<a href="http://search.twitter.com/search?q=%23fb" class="aktt_hashtag">fb</a> <a href="http://twitter.com/halr9000/statuses/4478606679" class="aktt_tweet_time">#</a></li>
<li>PowerShell Code Repository &#8211; Get Network Utilization <a href="http://ff.im/-8Wkrp" rel="nofollow">http://ff.im/-8Wkrp</a> <a href="http://twitter.com/halr9000/statuses/4480310262" class="aktt_tweet_time">#</a></li>
<li>useful little #<a href="http://search.twitter.com/search?q=%23powershell" class="aktt_hashtag">powershell</a> v2 function: function bg { icm { $args } -comp . -asjob } <a href="http://twitter.com/halr9000/statuses/4486939525" class="aktt_tweet_time">#</a></li>
<li>RT @JamesBru: #<a href="http://search.twitter.com/search?q=%23PSV2QuickTip" class="aktt_hashtag">PSV2QuickTip</a> &#8211; Watch for mass storage devices in #<a href="http://search.twitter.com/search?q=%23PowerShell" class="aktt_hashtag">PowerShell</a> V2 &#8211; Register-WmiEvent Win32_VolumeChangeEvent <a href="http://twitter.com/halr9000/statuses/4494567688" class="aktt_tweet_time">#</a></li>
<li>PowerShell dev James Brundage @<a href="http://twitter.com/JamesBru" class="aktt_username">JamesBru</a> finally joined twitter and needs followers <a href="http://twitter.com/halr9000/statuses/4494596633" class="aktt_tweet_time">#</a></li>
<li>on a webex with people in Texas and Italy. gotta love the internet <a href="http://twitter.com/halr9000/statuses/4496175212" class="aktt_tweet_time">#</a></li>
<li>we have a linux server here with a load over 70. seems high <a href="http://twitter.com/halr9000/statuses/4497318673" class="aktt_tweet_time">#</a></li>
<li>If you were forced to pick, which would you prefer: A) US Federal power is drastically reduced (returning power to&#8230; <a href="http://ff.im/-8YQYV" rel="nofollow">http://ff.im/-8YQYV</a> <a href="http://twitter.com/halr9000/statuses/4497667384" class="aktt_tweet_time">#</a></li>
</ul>
<p class="aktt_credit">Powered by <a href="http://alexking.org/projects/wordpress">Twitter Tools</a></p>

<p><a href="http://feedads.g.doubleclick.net/~a/10OUCKRX_QumVZfsro-lwLh2iRA/0/da"><img src="http://feedads.g.doubleclick.net/~a/10OUCKRX_QumVZfsro-lwLh2iRA/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/10OUCKRX_QumVZfsro-lwLh2iRA/1/da"><img src="http://feedads.g.doubleclick.net/~a/10OUCKRX_QumVZfsro-lwLh2iRA/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/halr9000?a=hBCKym9r7GQ:xuFa5_-CMQ0:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/halr9000?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/halr9000?a=hBCKym9r7GQ:xuFa5_-CMQ0:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/halr9000?i=hBCKym9r7GQ:xuFa5_-CMQ0:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/halr9000/~4/hBCKym9r7GQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://halr9000.com/article/826/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://halr9000.com/article/826</feedburner:origLink></item>
		<item>
		<title>Twitter Updates for 2009-09-29</title>
		<link>http://feedproxy.google.com/~r/halr9000/~3/WM7RUMJI57w/825</link>
		<comments>http://halr9000.com/article/825#comments</comments>
		<pubDate>Tue, 29 Sep 2009 16:48:00 +0000</pubDate>
		<dc:creator>halr9000</dc:creator>
				<category><![CDATA[asides]]></category>
		<category><![CDATA[tweets]]></category>

		<guid isPermaLink="false">http://halr9000.com/article/825</guid>
		<description><![CDATA[
RT @Lee_Holmes: Last week&#39;s PowerScripting Podcast: http://bit.ly/3L5mY7. Eventing, transactions, and V2 stuff that nobody ever mentions! #
Precision Computing &#8211; PowerShell Cookbook Now Available on iPhone http://ff.im/-8RWXH #
Been reading Stephenson&#39;s &#34;Anathem&#34; past couple of weeks. I think it&#39;s making me smarter, or at least I feel that way.   #
listening to The Doors tonight while [...]]]></description>
			<content:encoded><![CDATA[<!-- no icon for 'asides' --><ul class="aktt_tweet_digest">
<li>RT @Lee_Holmes: Last week&#39;s PowerScripting Podcast: <a href="http://bit.ly/3L5mY7" rel="nofollow">http://bit.ly/3L5mY7</a>. Eventing, transactions, and V2 stuff that nobody ever mentions! <a href="http://twitter.com/halr9000/statuses/4446111552" class="aktt_tweet_time">#</a></li>
<li>Precision Computing &#8211; PowerShell Cookbook Now Available on iPhone <a href="http://ff.im/-8RWXH" rel="nofollow">http://ff.im/-8RWXH</a> <a href="http://twitter.com/halr9000/statuses/4448955143" class="aktt_tweet_time">#</a></li>
<li>Been reading Stephenson&#39;s &quot;Anathem&quot; past couple of weeks. I think it&#39;s making me smarter, or at least I feel that way. <img src='http://halr9000.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  <a href="http://twitter.com/halr9000/statuses/4449043297" class="aktt_tweet_time">#</a></li>
<li>listening to The Doors tonight while writing some powershell training material <a href="http://twitter.com/halr9000/statuses/4460428210" class="aktt_tweet_time">#</a></li>
<li>RT @cmille19: RT @dfinke: Try PowerShell – An Interactive Tutorial <a href="http://bit.ly/2R0zxE" rel="nofollow">http://bit.ly/2R0zxE</a> <a href="http://twitter.com/halr9000/statuses/4460454300" class="aktt_tweet_time">#</a></li>
<li>Try PowerShell &ndash; An Interactive Tutorial <a href="http://ff.im/-8TvsO" rel="nofollow">http://ff.im/-8TvsO</a> <a href="http://twitter.com/halr9000/statuses/4462917631" class="aktt_tweet_time">#</a></li>
<li>Try PowerShell – An Interactive Tutorial <a href="http://ff.im/-8TvsP" rel="nofollow">http://ff.im/-8TvsP</a> <a href="http://twitter.com/halr9000/statuses/4462917626" class="aktt_tweet_time">#</a></li>
<li>listening to #<a href="http://search.twitter.com/search?q=%23twist" class="aktt_hashtag">twist</a> podcast on the way into work <a href="http://twitter.com/halr9000/statuses/4467925206" class="aktt_tweet_time">#</a></li>
<li>Linux geeks in the next aisle are bashing SQL Server. Sadly, I have no ammo to defend it. <a href="http://twitter.com/halr9000/statuses/4469372956" class="aktt_tweet_time">#</a></li>
<li>bug&#39;d: Access denied error when attempting to enable remoting with enable-psremoting cmdlet <a href="http://bit.ly/aONek" rel="nofollow">http://bit.ly/aONek</a> #<a href="http://search.twitter.com/search?q=%23powershell" class="aktt_hashtag">powershell</a> <a href="http://twitter.com/halr9000/statuses/4469907312" class="aktt_tweet_time">#</a></li>
<li>PoshBoard 2.0 Released <a href="http://bit.ly/4tJKMx" rel="nofollow">http://bit.ly/4tJKMx</a> #<a href="http://search.twitter.com/search?q=%23powershell" class="aktt_hashtag">powershell</a> <a href="http://twitter.com/halr9000/statuses/4469929575" class="aktt_tweet_time">#</a></li>
<li>Access denied error when attempting to enable remoting with enable-psremoting cmdlet | Microsoft Connect <a href="http://ff.im/-8UPgE" rel="nofollow">http://ff.im/-8UPgE</a> <a href="http://twitter.com/halr9000/statuses/4469967517" class="aktt_tweet_time">#</a></li>
<li>Conditional Select &#8211; PowerShellCommunity.org &#8211; Windows PowerShell Discussion Forums &#8211; Using PowerShell &#8211; General&#8230; <a href="http://ff.im/-8UPgH" rel="nofollow">http://ff.im/-8UPgH</a> <a href="http://twitter.com/halr9000/statuses/4469968674" class="aktt_tweet_time">#</a></li>
</ul>
<p class="aktt_credit">Powered by <a href="http://alexking.org/projects/wordpress">Twitter Tools</a></p>

<p><a href="http://feedads.g.doubleclick.net/~a/QduHZmCJcgCnHg8GdnpfscsovXM/0/da"><img src="http://feedads.g.doubleclick.net/~a/QduHZmCJcgCnHg8GdnpfscsovXM/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/QduHZmCJcgCnHg8GdnpfscsovXM/1/da"><img src="http://feedads.g.doubleclick.net/~a/QduHZmCJcgCnHg8GdnpfscsovXM/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/halr9000?a=WM7RUMJI57w:UNjV2XIgFU4:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/halr9000?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/halr9000?a=WM7RUMJI57w:UNjV2XIgFU4:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/halr9000?i=WM7RUMJI57w:UNjV2XIgFU4:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/halr9000/~4/WM7RUMJI57w" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://halr9000.com/article/825/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://halr9000.com/article/825</feedburner:origLink></item>
		<item>
		<title>Twitter Updates for 2009-09-28</title>
		<link>http://feedproxy.google.com/~r/halr9000/~3/AUDfMltyY_U/824</link>
		<comments>http://halr9000.com/article/824#comments</comments>
		<pubDate>Mon, 28 Sep 2009 16:48:00 +0000</pubDate>
		<dc:creator>halr9000</dc:creator>
				<category><![CDATA[asides]]></category>
		<category><![CDATA[tweets]]></category>

		<guid isPermaLink="false">http://halr9000.com/article/824</guid>
		<description><![CDATA[
boys are outside collecting lizards. they are up to 3 different species so far #
Epic #powerCLI master! RT @LucD22: New blog post. The Onyx alternative ? See http://lucd.info/?p=412 #
hehe care for aggro lizards: &#34;Use a UV light(Ultra Violent) during the day.&#34; http://bit.ly/hNI5s #
LucD notes The Onyx alternative ? http://ff.im/-8Ozwo #
Confirmed for the podcast: @jsnover 3rd [...]]]></description>
			<content:encoded><![CDATA[<!-- no icon for 'asides' --><ul class="aktt_tweet_digest">
<li>boys are outside collecting lizards. they are up to 3 different species so far <a href="http://twitter.com/halr9000/statuses/4420994724" class="aktt_tweet_time">#</a></li>
<li>Epic #<a href="http://search.twitter.com/search?q=%23powerCLI" class="aktt_hashtag">powerCLI</a> master! RT @LucD22: New blog post. The Onyx alternative ? See <a href="http://lucd.info/?p=412" rel="nofollow">http://lucd.info/?p=412</a> <a href="http://twitter.com/halr9000/statuses/4421497557" class="aktt_tweet_time">#</a></li>
<li>hehe care for aggro lizards: &quot;Use a UV light(Ultra Violent) during the day.&quot; <a href="http://bit.ly/hNI5s" rel="nofollow">http://bit.ly/hNI5s</a> <a href="http://twitter.com/halr9000/statuses/4421683347" class="aktt_tweet_time">#</a></li>
<li>LucD notes The Onyx alternative ? <a href="http://ff.im/-8Ozwo" rel="nofollow">http://ff.im/-8Ozwo</a> <a href="http://twitter.com/halr9000/statuses/4421865653" class="aktt_tweet_time">#</a></li>
<li>Confirmed for the podcast: @<a href="http://twitter.com/jsnover" class="aktt_username">jsnover</a> 3rd week of Oct <a href="http://twitter.com/halr9000/statuses/4429910290" class="aktt_tweet_time">#</a></li>
<li>had to pay for washing machine fix this morn, then on way to work I get a nail in my tire. Monday score: -3 #<a href="http://search.twitter.com/search?q=%23fb" class="aktt_hashtag">fb</a> <a href="http://twitter.com/halr9000/statuses/4443459358" class="aktt_tweet_time">#</a></li>
<li>on the plus side, my car has a tire pressure indicator which warned me before tire went flat so that&#39;s awesome. <a href="http://twitter.com/halr9000/statuses/4443481930" class="aktt_tweet_time">#</a></li>
</ul>
<p class="aktt_credit">Powered by <a href="http://alexking.org/projects/wordpress">Twitter Tools</a></p>

<p><a href="http://feedads.g.doubleclick.net/~a/lRY2C3RYa5o70d0huIwuD79e4gM/0/da"><img src="http://feedads.g.doubleclick.net/~a/lRY2C3RYa5o70d0huIwuD79e4gM/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/lRY2C3RYa5o70d0huIwuD79e4gM/1/da"><img src="http://feedads.g.doubleclick.net/~a/lRY2C3RYa5o70d0huIwuD79e4gM/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/halr9000?a=AUDfMltyY_U:QrbHnuNVYJg:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/halr9000?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/halr9000?a=AUDfMltyY_U:QrbHnuNVYJg:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/halr9000?i=AUDfMltyY_U:QrbHnuNVYJg:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/halr9000/~4/AUDfMltyY_U" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://halr9000.com/article/824/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://halr9000.com/article/824</feedburner:origLink></item>
		<item>
		<title>Twitter Updates for 2009-09-27</title>
		<link>http://feedproxy.google.com/~r/halr9000/~3/H8-i7z7Oymg/823</link>
		<comments>http://halr9000.com/article/823#comments</comments>
		<pubDate>Sun, 27 Sep 2009 16:48:00 +0000</pubDate>
		<dc:creator>halr9000</dc:creator>
				<category><![CDATA[asides]]></category>
		<category><![CDATA[tweets]]></category>

		<guid isPermaLink="false">http://halr9000.com/article/823</guid>
		<description><![CDATA[
up to 3 in. rain today. because atlanta _needs_ more rain #
I tip my hat to the new constitution #
Wow, that was not meant to be a political statement, only a song lyric, which is playing but&#8230;yeah. #
RT @stephenkruiser: &#34;&#8230;greatest things about being Progressive is that you get to operate without reference to history&#34; http://bit.ly/Jaaw4 [...]]]></description>
			<content:encoded><![CDATA[<!-- no icon for 'asides' --><ul class="aktt_tweet_digest">
<li>up to 3 in. rain today. because atlanta _needs_ more rain <a href="http://twitter.com/halr9000/statuses/4395727607" class="aktt_tweet_time">#</a></li>
<li>I tip my hat to the new constitution <a href="http://twitter.com/halr9000/statuses/4400201667" class="aktt_tweet_time">#</a></li>
<li>Wow, that was not meant to be a political statement, only a song lyric, which is playing but&#8230;yeah. <a href="http://twitter.com/halr9000/statuses/4400216860" class="aktt_tweet_time">#</a></li>
<li>RT @stephenkruiser: &quot;&#8230;greatest things about being Progressive is that you get to operate without reference to history&quot; <a href="http://bit.ly/Jaaw4" rel="nofollow">http://bit.ly/Jaaw4</a> <a href="http://twitter.com/halr9000/statuses/4400364925" class="aktt_tweet_time">#</a></li>
<li>Oh good, I just found that typing &quot;http://microsoft.com/powershell&quot; will take you to a very reasonable starting page. <a href="http://twitter.com/halr9000/statuses/4401291791" class="aktt_tweet_time">#</a></li>
<li>If Sanctions Don&#8217;t Work The First 1000 Times, Try, Try Again | Stephen Kruiser <a href="http://ff.im/-8MdLs" rel="nofollow">http://ff.im/-8MdLs</a> <a href="http://twitter.com/halr9000/statuses/4402661423" class="aktt_tweet_time">#</a></li>
<li>Windows PowerShell Blog : V2 Quick Tip: Monitoring Performance Counters with PowerShell <a href="http://ff.im/-8Mrgh" rel="nofollow">http://ff.im/-8Mrgh</a> <a href="http://twitter.com/halr9000/statuses/4404669203" class="aktt_tweet_time">#</a></li>
<li>Just started Think as a Brick &#8212; please do not disturb for the next 43 minutes <img src='http://halr9000.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  <a href="http://twitter.com/halr9000/statuses/4407964532" class="aktt_tweet_time">#</a></li>
<li>Yes&#8211;I know all the words <a href="http://twitter.com/halr9000/statuses/4408010432" class="aktt_tweet_time">#</a></li>
</ul>
<p class="aktt_credit">Powered by <a href="http://alexking.org/projects/wordpress">Twitter Tools</a></p>

<p><a href="http://feedads.g.doubleclick.net/~a/RLfidtl9-O2JQkcFpWiCnKy5S-E/0/da"><img src="http://feedads.g.doubleclick.net/~a/RLfidtl9-O2JQkcFpWiCnKy5S-E/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/RLfidtl9-O2JQkcFpWiCnKy5S-E/1/da"><img src="http://feedads.g.doubleclick.net/~a/RLfidtl9-O2JQkcFpWiCnKy5S-E/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/halr9000?a=H8-i7z7Oymg:aURg1crJObo:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/halr9000?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/halr9000?a=H8-i7z7Oymg:aURg1crJObo:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/halr9000?i=H8-i7z7Oymg:aURg1crJObo:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/halr9000/~4/H8-i7z7Oymg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://halr9000.com/article/823/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://halr9000.com/article/823</feedburner:origLink></item>
		<item>
		<title>Twitter Updates for 2009-09-26</title>
		<link>http://feedproxy.google.com/~r/halr9000/~3/Jh5-eDI7hbI/819</link>
		<comments>http://halr9000.com/article/819#comments</comments>
		<pubDate>Sat, 26 Sep 2009 16:48:00 +0000</pubDate>
		<dc:creator>halr9000</dc:creator>
				<category><![CDATA[asides]]></category>
		<category><![CDATA[tweets]]></category>

		<guid isPermaLink="false">http://halr9000.com/article/819</guid>
		<description><![CDATA[
VMware Communities: Serial number ? http://ff.im/-8IjYW #
VMware: vSphere PowerCLI Blog: How to run PowerCLI scripts from vCenter Alarms. http://ff.im/-8Iwsk #
sorry&#8211;i&#39;m rocking out, TTYL #
We just had someone tell us that their application doesn&#39;t need monitoring because it works fine #
listening to some &#34;Yes&#34; while working on a powercli article #

Powered by Twitter Tools
]]></description>
			<content:encoded><![CDATA[<!-- no icon for 'asides' --><ul class="aktt_tweet_digest">
<li>VMware Communities: Serial number ? <a href="http://ff.im/-8IjYW" rel="nofollow">http://ff.im/-8IjYW</a> <a href="http://twitter.com/halr9000/statuses/4372000918" class="aktt_tweet_time">#</a></li>
<li>VMware: vSphere PowerCLI Blog: How to run PowerCLI scripts from vCenter Alarms. <a href="http://ff.im/-8Iwsk" rel="nofollow">http://ff.im/-8Iwsk</a> <a href="http://twitter.com/halr9000/statuses/4373289011" class="aktt_tweet_time">#</a></li>
<li>sorry&#8211;i&#39;m rocking out, TTYL <a href="http://twitter.com/halr9000/statuses/4373432366" class="aktt_tweet_time">#</a></li>
<li>We just had someone tell us that their application doesn&#39;t need monitoring because it works fine <a href="http://twitter.com/halr9000/statuses/4374373008" class="aktt_tweet_time">#</a></li>
<li>listening to some &quot;Yes&quot; while working on a powercli article <a href="http://twitter.com/halr9000/statuses/4383833577" class="aktt_tweet_time">#</a></li>
</ul>
<p class="aktt_credit">Powered by <a href="http://alexking.org/projects/wordpress">Twitter Tools</a></p>

<p><a href="http://feedads.g.doubleclick.net/~a/zKK4BF8QnvhkcbpA9VTq4DFMK1k/0/da"><img src="http://feedads.g.doubleclick.net/~a/zKK4BF8QnvhkcbpA9VTq4DFMK1k/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/zKK4BF8QnvhkcbpA9VTq4DFMK1k/1/da"><img src="http://feedads.g.doubleclick.net/~a/zKK4BF8QnvhkcbpA9VTq4DFMK1k/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/halr9000?a=Jh5-eDI7hbI:oMyLwf8KLDc:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/halr9000?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/halr9000?a=Jh5-eDI7hbI:oMyLwf8KLDc:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/halr9000?i=Jh5-eDI7hbI:oMyLwf8KLDc:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/halr9000/~4/Jh5-eDI7hbI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://halr9000.com/article/819/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://halr9000.com/article/819</feedburner:origLink></item>
		<item>
		<title>Twitter Updates for 2009-09-25</title>
		<link>http://feedproxy.google.com/~r/halr9000/~3/9nqMU4we8-8/817</link>
		<comments>http://halr9000.com/article/817#comments</comments>
		<pubDate>Fri, 25 Sep 2009 16:48:00 +0000</pubDate>
		<dc:creator>halr9000</dc:creator>
				<category><![CDATA[asides]]></category>
		<category><![CDATA[tweets]]></category>

		<guid isPermaLink="false">http://halr9000.com/article/817</guid>
		<description><![CDATA[
RT @MicrosoftPress: The Russinovich virtual roundtable just started: http://ow.ly/qTyr #
Microsoft Press : Author news: Mark Russinovich virtual roundtable on September 24 http://ff.im/-8EGyN #
apparently I&#39;ve been here long enough at work to start accumulating hardware #
listening to TWIT on way into work #
now playing: Silverchair #
went through a bit of keyboard adjustment, having some ergo issues [...]]]></description>
			<content:encoded><![CDATA[<!-- no icon for 'asides' --><ul class="aktt_tweet_digest">
<li>RT @MicrosoftPress: The Russinovich virtual roundtable just started: <a href="http://ow.ly/qTyr" rel="nofollow">http://ow.ly/qTyr</a> <a href="http://twitter.com/halr9000/statuses/4345107572" class="aktt_tweet_time">#</a></li>
<li>Microsoft Press : Author news: Mark Russinovich virtual roundtable on September 24 <a href="http://ff.im/-8EGyN" rel="nofollow">http://ff.im/-8EGyN</a> <a href="http://twitter.com/halr9000/statuses/4345587257" class="aktt_tweet_time">#</a></li>
<li>apparently I&#39;ve been here long enough at work to start accumulating hardware <a href="http://twitter.com/halr9000/statuses/4349772862" class="aktt_tweet_time">#</a></li>
<li>listening to TWIT on way into work <a href="http://twitter.com/halr9000/statuses/4365885295" class="aktt_tweet_time">#</a></li>
<li>now playing: Silverchair <a href="http://twitter.com/halr9000/statuses/4367569542" class="aktt_tweet_time">#</a></li>
<li>went through a bit of keyboard adjustment, having some ergo issues I think with my wrist <a href="http://twitter.com/halr9000/statuses/4367579361" class="aktt_tweet_time">#</a></li>
<li>TGIF <a href="http://twitter.com/halr9000/statuses/4367604938" class="aktt_tweet_time">#</a></li>
<li>RT @mattroblin: Has anyone else managed to get the Serial Number from an HP server using #<a href="http://search.twitter.com/search?q=%23PowerCli" class="aktt_hashtag">PowerCli</a>?  <a href="http://bit.ly/2swyNM" rel="nofollow">http://bit.ly/2swyNM</a> <a href="http://twitter.com/halr9000/statuses/4367990896" class="aktt_tweet_time">#</a></li>
<li>at a datacenter tour at work looking at a tape library that is twenty-one tiles large <a href="http://twitter.com/halr9000/statuses/4370097326" class="aktt_tweet_time">#</a></li>
</ul>
<p class="aktt_credit">Powered by <a href="http://alexking.org/projects/wordpress">Twitter Tools</a></p>

<p><a href="http://feedads.g.doubleclick.net/~a/zyV5i2XVv0qOSVzyLXILaIdV6rM/0/da"><img src="http://feedads.g.doubleclick.net/~a/zyV5i2XVv0qOSVzyLXILaIdV6rM/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/zyV5i2XVv0qOSVzyLXILaIdV6rM/1/da"><img src="http://feedads.g.doubleclick.net/~a/zyV5i2XVv0qOSVzyLXILaIdV6rM/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/halr9000?a=9nqMU4we8-8:8ZFMlMSYHqA:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/halr9000?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/halr9000?a=9nqMU4we8-8:8ZFMlMSYHqA:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/halr9000?i=9nqMU4we8-8:8ZFMlMSYHqA:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/halr9000/~4/9nqMU4we8-8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://halr9000.com/article/817/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://halr9000.com/article/817</feedburner:origLink></item>
	</channel>
</rss>
