<?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, 28 Jan 2012 21:29:12 +0000</lastBuildDate>
	<language>en-us</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<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>And Now, for Something Completely Different!</title>
		<link>http://feedproxy.google.com/~r/halr9000/~3/MfHZBxoSIIk/949</link>
		<comments>http://halr9000.com/article/949#comments</comments>
		<pubDate>Sat, 28 Jan 2012 21:29:12 +0000</pubDate>
		<dc:creator>halr9000</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Splunk]]></category>

		<guid isPermaLink="false">http://halr9000.com/article/949</guid>
		<description><![CDATA[I am very happy to announce that I&#8217;ve taken a new job with Splunk! I&#8217;m going to be a Solutions Architect working in their Business Development Partner Application Development team for my buddy Brandon Shell. As a part of my new role, I will be using Python (and PowerShell wherever I can fit it in) [...]]]></description>
			<content:encoded><![CDATA[<!-- no icon for 'General' --><p><a href="http://www.splunk.com/"><img style="margin: 0px 0px 0px 5px; display: inline; float: right" align="right" src="http://coverall2.splunk.com/web_assets/v5/homepage/hero_43.jpg" width="400" height="196" /></a>I am very happy to announce that I&#8217;ve taken a new job with <a href="http://splunk.com">Splunk</a>! I&#8217;m going to be a Solutions Architect working in their <em>Business Development Partner Application Development</em> team for my buddy <a href="http://bsonposh.com">Brandon Shell</a>. As a part of my new role, I will be using Python (and PowerShell wherever I can fit it in) to help to create solutions around our areas of focus. There will be VMware stuff for sure, and some other cool technologies as well that I’m very interested in. More news as I figure out what they are. <img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://halr9000.com/wp-content/uploads/2012/01/wlEmoticon-smile.png" /></p>
<p>The job is 100% working from home, which is awesome. I’m glad to get back to that after several years of braving Atlanta traffic. (I had worked for HP from home for a while.) You know what else is great about this new job? I won’t be on call 24&#215;7! Very glad to ditch the pager! (Not to say that I won’t return your calls, Brandon. <img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://halr9000.com/wp-content/uploads/2012/01/wlEmoticon-smile.png" /> , just not while I am asleep.)</p>
<p>I’m all set to start Feb 13th!</p>
<div class="cbw snap_nopreview">
<div class="cbw_header"><script src="http://www.crunchbase.com/javascripts/widget.js" type="text/javascript"></script>
<div class="cbw_header_text"><a href="http://www.crunchbase.com/">CrunchBase Information</a></div>
</p></div>
<div class="cbw_content">
<div class="cbw_subheader"><a href="http://www.crunchbase.com/company/splunk">Splunk</a></div>
<div class="cbw_subcontent"><script src="http://www.crunchbase.com/cbw/company/splunk.js" type="text/javascript"></script></div>
<div class="cbw_footer">Information provided by <a href="http://www.crunchbase.com/">CrunchBase</a></div>
</p></div>
</p></div>

<p><a href="http://feedads.g.doubleclick.net/~a/wHpfmBJqckOFiLSU9zJJKziBktM/0/da"><img src="http://feedads.g.doubleclick.net/~a/wHpfmBJqckOFiLSU9zJJKziBktM/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/wHpfmBJqckOFiLSU9zJJKziBktM/1/da"><img src="http://feedads.g.doubleclick.net/~a/wHpfmBJqckOFiLSU9zJJKziBktM/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/halr9000?a=MfHZBxoSIIk:XECBbzPnWAI:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/halr9000?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/halr9000?a=MfHZBxoSIIk:XECBbzPnWAI:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/halr9000?i=MfHZBxoSIIk:XECBbzPnWAI:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/halr9000/~4/MfHZBxoSIIk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://halr9000.com/article/949/feed</wfw:commentRss>
		<slash:comments>10</slash:comments>
		<feedburner:origLink>http://halr9000.com/article/949</feedburner:origLink></item>
		<item>
		<title>PowerShell Workflow, defined (V3 CTP2)</title>
		<link>http://feedproxy.google.com/~r/halr9000/~3/EVf_DB69H80/947</link>
		<comments>http://halr9000.com/article/947#comments</comments>
		<pubDate>Fri, 23 Dec 2011 21:56:35 +0000</pubDate>
		<dc:creator>halr9000</dc:creator>
				<category><![CDATA[Powershell]]></category>
		<category><![CDATA[CTP2]]></category>
		<category><![CDATA[pre-release]]></category>
		<category><![CDATA[V3]]></category>

		<guid isPermaLink="false">http://halr9000.com/article/947</guid>
		<description><![CDATA[A workflow is a sequence of automated steps or activities that execute tasks on or retrieve data from one or more managed nodes (computers or devices). These activities can include individual commands or scripts. Windows PowerShell Workflow enables, IT pros and developers alike, to author sequences of multi-computer management activities — that are either long-running, [...]]]></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>
<blockquote><p>A workflow is a sequence of automated steps or activities that execute tasks on or retrieve data from one or more managed nodes (computers or devices). These activities can include individual commands or scripts. Windows PowerShell Workflow enables, IT pros and developers alike, to author sequences of multi-computer management activities — that are either long-running, repeatable, frequent, parallelizable, interruptible, stoppable, or restartable — as workflows. By design, workflows can be resumed from an intentional or accidental suspension or interruption, such as a network outage, a reboot or power loss.</p>
</blockquote>
<p>I just had to paste this paragraph. It comes from the recently published “Getting Started with PowerShell Workflow” as announced in <a href="http://blogs.msdn.com/b/powershell/archive/2011/12/22/another-holiday-gift-from-the-powershell-team-powershell-3-0-ctp2-getting-started-with-windows-powershell-workflow.aspx">this post</a> on the PowerShell team blog. You can grab the PDF from the <a href="http://www.microsoft.com/download/en/details.aspx?id=27548">WMF3 CTP2 download page</a>.</p>
<p>Hot stuff! Go grab the 14 page doc so you can be ready for when v3 ships! There are a ton of examples so that you get started quickly.</p>
<p><strong>Disclaimer</strong>: this is pre-release code and will definitely change</p>

<p><a href="http://feedads.g.doubleclick.net/~a/cLyXYzOSxGlKUKzzkqoQoQ15qNg/0/da"><img src="http://feedads.g.doubleclick.net/~a/cLyXYzOSxGlKUKzzkqoQoQ15qNg/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/cLyXYzOSxGlKUKzzkqoQoQ15qNg/1/da"><img src="http://feedads.g.doubleclick.net/~a/cLyXYzOSxGlKUKzzkqoQoQ15qNg/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/halr9000?a=EVf_DB69H80:5ktwMl8TH28:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/halr9000?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/halr9000?a=EVf_DB69H80:5ktwMl8TH28:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/halr9000?i=EVf_DB69H80:5ktwMl8TH28:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/halr9000/~4/EVf_DB69H80" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://halr9000.com/article/947/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://halr9000.com/article/947</feedburner:origLink></item>
		<item>
		<title>PowerShell Tip: Don’t forget the type!</title>
		<link>http://feedproxy.google.com/~r/halr9000/~3/Lp4iXfaetPY/946</link>
		<comments>http://halr9000.com/article/946#comments</comments>
		<pubDate>Fri, 21 Oct 2011 16:17:58 +0000</pubDate>
		<dc:creator>halr9000</dc:creator>
				<category><![CDATA[Powershell]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://halr9000.com/article/946</guid>
		<description><![CDATA[So I’m sitting here building a bunch of virtual machines using PowerCLI. I decided to start with a spreadsheet into which I’ve collected many of the important things about a virtual machine: Since I don’t actually build VMs every day, and I haven’t focused on a build process (like I should, I know!) yet, this [...]]]></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>So I’m sitting here building a bunch of virtual machines using PowerCLI. I decided to start with a spreadsheet into which I’ve collected many of the important things about a virtual machine:</p>
<p><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="SNAGHTML840494" border="0" alt="SNAGHTML840494" src="http://halr9000.com/wp-content/uploads/2011/10/SNAGHTML840494.png" width="379" height="202" /></p>
<p>Since I don’t actually build VMs every day, and I haven’t focused on a build process (like I should, I know!) yet, this spreadsheet was a first draft of a build process and it was made for humans, not machines. What does this mean? Well, obviously, by looking at the Memory column, any of you would guess that the unit of measurement is gigabytes. However, VMware happens to measure memory in megabytes.</p>
<p>Long story short, I wrote a quick one-liner in PowerShell to “spec out” the newly-cloned virtual machines using this spreadsheet. As I said, it’s not a build process yet, but it will be when I’m done. Baby steps. The one-liner looks like this ($t is the variable that holds the data obtained from the spreadsheet, using a simple Import-Csv cmdlet):</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"><span style="color: #606060" id="lnum1">   1:</span> $t | % { Set-VM -VM $_.name -NumCpu $_.cpu -MemoryMB $_.Memory }</pre>
<p><!--CRLF--></div>
</div>
<p>Once I started that running, I quickly realized that 8MB VMs would do me no good. <img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://halr9000.com/wp-content/uploads/2011/10/wlEmoticon-smile.png" /> So, I amended my script to this:</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"><span style="color: #606060" id="lnum1">   1:</span> $t | % { Set-VM -VM $_.name -NumCpu $_.cpu -MemoryMB ( $_.Memory * 1024 ) }</pre>
<p><!--CRLF--></div>
</div>
<p>That’s when I got a really weird error:</p>
<p><font style="background-color: #cccccc" color="#ff0000" face="Courier New">Set-VM : Cannot bind parameter &#8216;MemoryMB&#8217;. Cannot convert value &quot;888888888888888888888888888888888888888888888888888888<br />
    <br />88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888</p>
<p>88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888</p>
<p>88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888</p>
<p>88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888</p>
<p>88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888</p>
<p>88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888</p>
<p>88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888</p>
<p>88888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888</p>
<p>888888888888888888&quot; to type &quot;System.Int64&quot;. Error: &quot;Value was either too large or too small for an Int64.&quot;</font></p>
<p>Yuck! That one threw me for a loop for a moment until I realized the important lesson of the day. When you use a technique like Import-Csv, the resulting object is a bunch of strings! What happens when you multiply a string by a number in PowerShell? Yes, it’s effectively a concatenation. So in my case, the number 8 followed by one-thousand-and-twenty-three of the same. Nice, when that’s what you intended. That was not my intent this time!</p>
<p>So to round this post out with a fix, here’s the right way to get the intended result, which was to turn “8” into “8192”:</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: #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"><span style="color: #606060" id="lnum1">   1:</span> $t | % { Set-VM -VM $_.name -NumCpu $_.cpu -MemoryMB ( [<span style="color: #0000ff">int</span>]$_.Memory * 1024 ) }</pre>
<p><!--CRLF--></div>
</div>
<p>Note the “[int]” there before the $_. That will convert the resulting property to an integer BEFORE performing the multiplication. That’s the key here, it has to happen before (in the order of precedence), otherwise I end up with a bunch of 8’s. Now, I happen to know the order of operator precedence in PowerShell well enough to know that the above would work without any doubt, but if you aren’t sure about a particular piece of code, you can always surround a portion of a statement with parentheses in order to ensure that you get the order that you need.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/-y-hyavmoeQTErsKWyA_zG0DTgQ/0/da"><img src="http://feedads.g.doubleclick.net/~a/-y-hyavmoeQTErsKWyA_zG0DTgQ/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/-y-hyavmoeQTErsKWyA_zG0DTgQ/1/da"><img src="http://feedads.g.doubleclick.net/~a/-y-hyavmoeQTErsKWyA_zG0DTgQ/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/halr9000?a=Lp4iXfaetPY:GJGuFqsIglk:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/halr9000?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/halr9000?a=Lp4iXfaetPY:GJGuFqsIglk:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/halr9000?i=Lp4iXfaetPY:GJGuFqsIglk:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/halr9000/~4/Lp4iXfaetPY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://halr9000.com/article/946/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://halr9000.com/article/946</feedburner:origLink></item>
		<item>
		<title>PowerCLI v5 is available today, download it NOW!</title>
		<link>http://feedproxy.google.com/~r/halr9000/~3/kDJ-wyjEaZM/943</link>
		<comments>http://halr9000.com/article/943#comments</comments>
		<pubDate>Thu, 25 Aug 2011 13:51:51 +0000</pubDate>
		<dc:creator>halr9000</dc:creator>
				<category><![CDATA[PowerCLI]]></category>
		<category><![CDATA[Powershell]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[vsphere]]></category>

		<guid isPermaLink="false">http://halr9000.com/article/943</guid>
		<description><![CDATA[Run, don’t walk to vmware.com/go/powercli to grab the latest version of the world’s best PowerShell snapin. That’s right, v5 is out and you can grab it now! And the coolest part is that while nobody will have vSphere 5 in production on day one (ok, there’s a couple of you out there), PowerCLI v5 is [...]]]></description>
			<content:encoded><![CDATA[<!-- no icon for 'PowerCLI' --><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>Run, don’t walk to <a href="http://vmware.com/go/powercli">vmware.com/go/powercli</a> to grab the latest version of the world’s best PowerShell snapin. That’s right, v5 is out and you can grab it now! And the coolest part is that while nobody will have vSphere 5 in production on day one (ok, there’s a couple of you out there), PowerCLI v5 is a client-based tool with no dependencies, and it’s downwards-compatible! There is literally no reason for you not to upgrade right this instant! I am using exclamations here, people!</p>
<p>I’ve had beta builds installed for some time, but I didn’t want to do blog posts based on pre-release builds for fear that things would change. Now that it’s out, I’ll start pushing out some posts about what’s new and all that, so stay tuned. For now, some quick stats and info:</p>
<p>There are now FOUR VMware snap-ins installed with PowerCLI v5:</p>
<blockquote><p><font face="Courier New">PowerCLI U:\&gt; Get-PSSnapin vmware*</font></p>
<p><font face="Courier New">Name&#160;&#160;&#160;&#160;&#160;&#160;&#160; : VMware.VimAutomation.Core       <br />PSVersion&#160;&#160; : 2.0        <br />Description : This Windows PowerShell snap-in contains Windows PowerShell cmdlets for managing vSphere.</font></p>
<p><font face="Courier New">Name&#160;&#160;&#160;&#160;&#160;&#160;&#160; : VMware.VimAutomation.License       <br />PSVersion&#160;&#160; : 2.0        <br />Description : This Windows Powershell snap-in contains cmdlets for managing License components.</font></p>
<p><font face="Courier New">Name&#160;&#160;&#160;&#160;&#160;&#160;&#160; : VMware.DeployAutomation       <br />PSVersion&#160;&#160; : 2.0        <br />Description : Cmdlets for Rule-Based-Deployment</font></p>
<p><font face="Courier New">Name&#160;&#160;&#160;&#160;&#160;&#160;&#160; : VMware.ImageBuilder       <br />PSVersion&#160;&#160; : 2.0        <br />Description : This Windows PowerShell snap-in contains VMware ESXi Image Builder cmdlets used to generate custom images.</font></p>
</blockquote>
<p>There are 293 cmdlets in total across these snap-ins. Here they are, grouped by Noun and Verb:</p>
<blockquote><p><font size="1" face="Courier New">PowerCLI U:\&gt; $c = Get-Command -Module vmware*       <br />PowerCLI U:\&gt; $c.Length        <br />293        <br />PowerCLI U:\&gt; $c | group verb</font></p>
<p><font size="1" face="Courier New">Count Name&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Group       <br />&#8212;&#8211; &#8212;-&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#8212;&#8211;        <br />&#160;&#160;&#160; 6 Add&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Add-DeployRule, Add-EsxSoftwareDepot, Add-E&#8230;        <br />&#160;&#160;&#160; 3 Apply&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Apply-DrsRecommendation, Apply-ESXImageProf&#8230;        <br />&#160;&#160;&#160; 1 Compare&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Compare-EsxImageProfile}        <br />&#160;&#160;&#160; 1 Connect&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Connect-VIServer}        <br />&#160;&#160;&#160; 4 Copy&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Copy-DatastoreItem, Copy-DeployRule, Copy-H&#8230;        <br />&#160;&#160;&#160; 1 Disconnect&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Disconnect-VIServer}        <br />&#160;&#160;&#160; 1 Dismount&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Dismount-Tools}        <br />&#160;&#160;&#160; 3 Export&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Export-EsxImageProfile, Export-VApp, Export&#8230;        <br />&#160;&#160;&#160; 1 Format&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Format-VMHostDiskPartition}        <br />&#160;&#160; 95 Get&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-AdvancedSetting, Get-AlarmAction, Get-A&#8230;        <br />&#160;&#160;&#160; 2 Import&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Import-VApp, Import-VMHostProfile}        <br />&#160;&#160;&#160; 1 Install&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Install-VMHostPatch}        <br />&#160;&#160;&#160; 1 Invoke&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Invoke-VMScript}        <br />&#160;&#160;&#160; 1 Mount&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Mount-Tools}        <br />&#160;&#160;&#160; 9 Move&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Move-Cluster, Move-Datacenter, Move-Folder,&#8230;        <br />&#160;&#160; 37 New&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {New-AdvancedSetting, New-AlarmAction, New-A&#8230;        <br />&#160;&#160; 42 Remove&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Remove-AdvancedSetting, Remove-AlarmAction,&#8230;        <br />&#160;&#160;&#160; 2 Repair&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Repair-DeployImageCache, Repair-DeployRuleS&#8230;        <br />&#160;&#160;&#160; 4 Restart&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Restart-VM, Restart-VMGuest, Restart-VMHost&#8230;        <br />&#160;&#160; 58 Set&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Set-AdvancedSetting, Set-AlarmDefinition, S&#8230;        <br />&#160;&#160;&#160; 1 Shutdown&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Shutdown-VMGuest}        <br />&#160;&#160;&#160; 4 Start&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Start-VApp, Start-VM, Start-VMHost, Start-V&#8230;        <br />&#160;&#160;&#160; 5 Stop&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Stop-Task, Stop-VApp, Stop-VM, Stop-VMHost&#8230;}        <br />&#160;&#160;&#160; 3 Suspend&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Suspend-VM, Suspend-VMGuest, Suspend-VMHost}        <br />&#160;&#160;&#160; 1 Switch&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Switch-ActiveDeployRuleSet}        <br />&#160;&#160;&#160; 3 Test&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Test-DeployRuleSetCompliance, Test-VMHostPr&#8230;        <br />&#160;&#160;&#160; 1 Update&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Update-Tools}        <br />&#160;&#160;&#160; 2 Wait&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Wait-Task, Wait-Tools}</font></p>
<p><font size="1" face="Courier New">PowerCLI U:\&gt; $c | group noun</font></p>
<p><font size="1" face="Courier New">Count Name&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Group       <br />&#8212;&#8211; &#8212;-&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#8212;&#8211;        <br />&#160;&#160;&#160; 6 DeployRule&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Add-DeployRule, Copy-DeployRule, Get-Deploy&#8230;        <br />&#160;&#160;&#160; 2 EsxSoftwareDepot&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Add-EsxSoftwareDepot, Remove-EsxSoftwareDepot}        <br />&#160;&#160;&#160; 3 EsxSoftwarePackage&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Add-EsxSoftwarePackage, Get-EsxSoftwarePack&#8230;        <br />&#160;&#160;&#160; 3 PassthroughDevice&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Add-PassthroughDevice, Get-PassthroughDevic&#8230;        <br />&#160;&#160;&#160; 9 VMHost&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Add-VMHost, Get-VMHost, Move-VMHost, Remove&#8230;        <br />&#160;&#160;&#160; 3 VmHostNtpServer&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Add-VmHostNtpServer, Get-VMHostNtpServer, R&#8230;        <br />&#160;&#160;&#160; 2 DrsRecommendation&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Apply-DrsRecommendation, Get-DrsRecommendat&#8230;        <br />&#160;&#160;&#160; 6 ESXImageProfile&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Apply-ESXImageProfile, Compare-EsxImageProf&#8230;        <br />&#160;&#160;&#160; 7 VMHostProfile&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Apply-VMHostProfile, Export-VMHostProfile, &#8230;        <br />&#160;&#160;&#160; 2 VIServer&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Connect-VIServer, Disconnect-VIServer}        <br />&#160;&#160;&#160; 1 DatastoreItem&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Copy-DatastoreItem}        <br />&#160;&#160;&#160; 5 HardDisk&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Copy-HardDisk, Get-HardDisk, New-HardDisk, &#8230;        <br />&#160;&#160;&#160; 1 VMGuestFile&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Copy-VMGuestFile}        <br />&#160;&#160;&#160; 4 Tools&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Dismount-Tools, Mount-Tools, Update-Tools, &#8230;        <br />&#160;&#160;&#160; 9 VApp&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Export-VApp, Get-VApp, Import-VApp, Move-VA&#8230;        <br />&#160;&#160;&#160; 2 VMHostDiskPartition&#160;&#160;&#160;&#160;&#160;&#160; {Format-VMHostDiskPartition, Get-VMHostDiskP&#8230;        <br />&#160;&#160;&#160; 4 AdvancedSetting&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-AdvancedSetting, New-AdvancedSetting, R&#8230;        <br />&#160;&#160;&#160; 3 AlarmAction&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-AlarmAction, New-AlarmAction, Remove-Al&#8230;        <br />&#160;&#160;&#160; 3 AlarmActionTrigger&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-AlarmActionTrigger, New-AlarmActionTrig&#8230;        <br />&#160;&#160;&#160; 2 AlarmDefinition&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-AlarmDefinition, Set-AlarmDefinition}        <br />&#160;&#160;&#160; 2 Annotation&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-Annotation, Set-Annotation}        <br />&#160;&#160;&#160; 4 CDDrive&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-CDDrive, New-CDDrive, Remove-CDDrive, S&#8230;        <br />&#160;&#160;&#160; 5 Cluster&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-Cluster, Move-Cluster, New-Cluster, Rem&#8230;        <br />&#160;&#160;&#160; 4 CustomAttribute&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-CustomAttribute, New-CustomAttribute, R&#8230;        <br />&#160;&#160;&#160; 5 Datacenter&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-Datacenter, Move-Datacenter, New-Datace&#8230;        <br />&#160;&#160;&#160; 4 Datastore&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-Datastore, New-Datastore, Remove-Datast&#8230;        <br />&#160;&#160;&#160; 1 DatastoreCluster&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-DatastoreCluster}        <br />&#160;&#160;&#160; 2 DeployRuleSet&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-DeployRuleSet, Set-DeployRuleSet}        <br />&#160;&#160;&#160; 4 DrsRule&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-DrsRule, New-DrsRule, Remove-DrsRule, S&#8230;        <br />&#160;&#160;&#160; 1 ErrorReport&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-ErrorReport}        <br />&#160;&#160;&#160; 1 EsxCli&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-EsxCli}        <br />&#160;&#160;&#160; 1 EsxSoftwareChannel&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-EsxSoftwareChannel}        <br />&#160;&#160;&#160; 1 EsxTop&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-EsxTop}        <br />&#160;&#160;&#160; 4 FloppyDrive&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-FloppyDrive, New-FloppyDrive, Remove-Fl&#8230;        <br />&#160;&#160;&#160; 5 Folder&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-Folder, Move-Folder, New-Folder, Remove&#8230;        <br />&#160;&#160;&#160; 1 HAPrimaryVMHost&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-HAPrimaryVMHost}        <br />&#160;&#160;&#160; 3 Inventory&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-Inventory, Move-Inventory, Remove-Inven&#8230;        <br />&#160;&#160;&#160; 4 IScsiHbaTarget&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-IScsiHbaTarget, New-IScsiHbaTarget, Rem&#8230;        <br />&#160;&#160;&#160; 1 LicenseDataManager&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-LicenseDataManager}        <br />&#160;&#160;&#160; 1 Log&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-Log}        <br />&#160;&#160;&#160; 1 LogType&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-LogType}        <br />&#160;&#160;&#160; 4 NetworkAdapter&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-NetworkAdapter, New-NetworkAdapter, Rem&#8230;        <br />&#160;&#160;&#160; 2 NicTeamingPolicy&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-NicTeamingPolicy, Set-NicTeamingPolicy}        <br />&#160;&#160;&#160; 4 OSCustomizationNicMapping {Get-OSCustomizationNicMapping, New-OSCustom&#8230;        <br />&#160;&#160;&#160; 4 OSCustomizationSpec&#160;&#160;&#160;&#160;&#160;&#160; {Get-OSCustomizationSpec, New-OSCustomizatio&#8230;        <br />&#160;&#160;&#160; 2 PowerCLIConfiguration&#160;&#160;&#160;&#160; {Get-PowerCLIConfiguration, Set-PowerCLIConf&#8230;        <br />&#160;&#160;&#160; 1 PowerCLIVersion&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-PowerCLIVersion}        <br />&#160;&#160;&#160; 5 ResourcePool&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-ResourcePool, Move-ResourcePool, New-Re&#8230;        <br />&#160;&#160;&#160; 3 ScsiController&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-ScsiController, New-ScsiController, Set&#8230;        <br />&#160;&#160;&#160; 2 ScsiLun&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-ScsiLun, Set-ScsiLun}        <br />&#160;&#160;&#160; 2 ScsiLunPath&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-ScsiLunPath, Set-ScsiLunPath}        <br />&#160;&#160;&#160; 4 Snapshot&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-Snapshot, New-Snapshot, Remove-Snapshot&#8230;        <br />&#160;&#160;&#160; 1 Stat&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-Stat}        <br />&#160;&#160;&#160; 4 StatInterval&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-StatInterval, New-StatInterval, Remove-&#8230;        <br />&#160;&#160;&#160; 1 StatType&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-StatType}        <br />&#160;&#160;&#160; 3 Task&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-Task, Stop-Task, Wait-Task}        <br />&#160;&#160;&#160; 5 Template&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-Template, Move-Template, New-Template, &#8230;        <br />&#160;&#160;&#160; 2 UsbDevice&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-UsbDevice, Remove-UsbDevice}        <br />&#160;&#160;&#160; 1 VIAccount&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-VIAccount}        <br />&#160;&#160;&#160; 3 VICredentialStoreItem&#160;&#160;&#160;&#160; {Get-VICredentialStoreItem, New-VICredential&#8230;        <br />&#160;&#160;&#160; 1 VIEvent&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-VIEvent}        <br />&#160;&#160;&#160; 1 View&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-View}        <br />&#160;&#160;&#160; 1 VIObjectByVIView&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-VIObjectByVIView}        <br />&#160;&#160;&#160; 4 VIPermission&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-VIPermission, New-VIPermission, Remove-&#8230;        <br />&#160;&#160;&#160; 1 VIPrivilege&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-VIPrivilege}        <br />&#160;&#160;&#160; 3 VIProperty&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-VIProperty, New-VIProperty, Remove-VIPr&#8230;        <br />&#160;&#160;&#160; 4 VIRole&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-VIRole, New-VIRole, Remove-VIRole, Set-&#8230;        <br />&#160;&#160;&#160; 4 VirtualPortGroup&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-VirtualPortGroup, New-VirtualPortGroup,&#8230;        <br />&#160;&#160;&#160; 4 VirtualSwitch&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-VirtualSwitch, New-VirtualSwitch, Remov&#8230;        <br />&#160;&#160;&#160; 9 VM&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-VM, Move-VM, New-VM, Remove-VM&#8230;}        <br />&#160;&#160;&#160; 4 VMGuest&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-VMGuest, Restart-VMGuest, Shutdown-VMGu&#8230;        <br />&#160;&#160;&#160; 2 VMGuestNetworkInterface&#160;&#160; {Get-VMGuestNetworkInterface, Set-VMGuestNet&#8230;        <br />&#160;&#160;&#160; 3 VMGuestRoute&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-VMGuestRoute, New-VMGuestRoute, Remove-&#8230;        <br />&#160;&#160;&#160; 4 VMHostAccount&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-VMHostAccount, New-VMHostAccount, Remov&#8230;        <br />&#160;&#160;&#160; 2 VMHostAdvancedConfigur&#8230; {Get-VMHostAdvancedConfiguration, Set-VMHost&#8230;        <br />&#160;&#160;&#160; 1 VMHostAttributes&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-VMHostAttributes}        <br />&#160;&#160;&#160; 2 VMHostAuthentication&#160;&#160;&#160;&#160;&#160; {Get-VMHostAuthentication, Set-VMHostAuthent&#8230;        <br />&#160;&#160;&#160; 1 VMHostAvailableTimeZone&#160;&#160; {Get-VMHostAvailableTimeZone}        <br />&#160;&#160;&#160; 2 VMHostDiagnosticPartition {Get-VMHostDiagnosticPartition, Set-VMHostDi&#8230;        <br />&#160;&#160;&#160; 1 VMHostDisk&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-VMHostDisk}        <br />&#160;&#160;&#160; 2 VMHostFirewallDefaultP&#8230; {Get-VMHostFirewallDefaultPolicy, Set-VMHost&#8230;        <br />&#160;&#160;&#160; 2 VMHostFirewallException&#160;&#160; {Get-VMHostFirewallException, Set-VMHostFire&#8230;        <br />&#160;&#160;&#160; 2 VMHostFirmware&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-VMHostFirmware, Set-VMHostFirmware}        <br />&#160;&#160;&#160; 2 VMHostHba&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-VMHostHba, Set-VMHostHba}        <br />&#160;&#160;&#160; 1 VMHostImageProfile&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-VMHostImageProfile}        <br />&#160;&#160;&#160; 1 VMHostMatchingRules&#160;&#160;&#160;&#160;&#160;&#160; {Get-VMHostMatchingRules}        <br />&#160;&#160;&#160; 2 VMHostModule&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-VMHostModule, Set-VMHostModule}        <br />&#160;&#160;&#160; 2 VMHostNetwork&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-VMHostNetwork, Set-VMHostNetwork}        <br />&#160;&#160;&#160; 4 VMHostNetworkAdapter&#160;&#160;&#160;&#160;&#160; {Get-VMHostNetworkAdapter, New-VMHostNetwork&#8230;        <br />&#160;&#160;&#160; 2 VMHostPatch&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-VMHostPatch, Install-VMHostPatch}        <br />&#160;&#160;&#160; 1 VMHostProfileRequiredI&#8230; {Get-VMHostProfileRequiredInput}        <br />&#160;&#160;&#160; 4 VMHostRoute&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-VMHostRoute, New-VMHostRoute, Remove-VM&#8230;        <br />&#160;&#160;&#160; 5 VMHostService&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-VMHostService, Restart-VMHostService, S&#8230;        <br />&#160;&#160;&#160; 3 VMHostSnmp&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-VMHostSnmp, Set-VMHostSnmp, Test-VMHost&#8230;        <br />&#160;&#160;&#160; 2 VMHostStartPolicy&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-VMHostStartPolicy, Set-VMHostStartPolicy}        <br />&#160;&#160;&#160; 2 VMHostStorage&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-VMHostStorage, Set-VMHostStorage}        <br />&#160;&#160;&#160; 2 VMHostSysLogServer&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-VMHostSysLogServer, Set-VMHostSysLogSer&#8230;        <br />&#160;&#160;&#160; 2 VMQuestion&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-VMQuestion, Set-VMQuestion}        <br />&#160;&#160;&#160; 2 VMResourceConfiguration&#160;&#160; {Get-VMResourceConfiguration, Set-VMResource&#8230;        <br />&#160;&#160;&#160; 2 VMStartPolicy&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Get-VMStartPolicy, Set-VMStartPolicy}        <br />&#160;&#160;&#160; 1 VMScript&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Invoke-VMScript}        <br />&#160;&#160;&#160; 3 CustomField&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {New-CustomField, Remove-CustomField, Set-Cu&#8230;        <br />&#160;&#160;&#160; 1 DeployImageCache&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {Repair-DeployImageCache}        <br />&#160;&#160;&#160; 2 DeployRuleSetCompliance&#160;&#160; {Repair-DeployRuleSetCompliance, Test-Deploy&#8230;        <br />&#160;&#160;&#160; 1 ActiveDeployRuleSet&#160;&#160;&#160;&#160;&#160;&#160; {Switch-ActiveDeployRuleSet}        <br />&#160;&#160;&#160; 1 VMHostProfileCompliance&#160;&#160; {Test-VMHostProfileCompliance}</font></p>
</blockquote>

<p><a href="http://feedads.g.doubleclick.net/~a/5utb7iYemI5L24tCnm5jfCavGV4/0/da"><img src="http://feedads.g.doubleclick.net/~a/5utb7iYemI5L24tCnm5jfCavGV4/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/5utb7iYemI5L24tCnm5jfCavGV4/1/da"><img src="http://feedads.g.doubleclick.net/~a/5utb7iYemI5L24tCnm5jfCavGV4/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/halr9000?a=kDJ-wyjEaZM:QddVw1wDISc:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/halr9000?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/halr9000?a=kDJ-wyjEaZM:QddVw1wDISc:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/halr9000?i=kDJ-wyjEaZM:QddVw1wDISc:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/halr9000/~4/kDJ-wyjEaZM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://halr9000.com/article/943/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://halr9000.com/article/943</feedburner:origLink></item>
		<item>
		<title>Can’t make it to VMWorld and live in Atlanta? Come to our VMUG!</title>
		<link>http://feedproxy.google.com/~r/halr9000/~3/v_RhuQPFGuc/942</link>
		<comments>http://halr9000.com/article/942#comments</comments>
		<pubDate>Tue, 23 Aug 2011 12:37:18 +0000</pubDate>
		<dc:creator>halr9000</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[Atlanta]]></category>
		<category><![CDATA[VMUG]]></category>
		<category><![CDATA[vmworld]]></category>

		<guid isPermaLink="false">http://halr9000.com/article/942</guid>
		<description><![CDATA[The Atlanta VMUG is gearing up for its huge annual event at the Georgia World Congress Center this October 24th! You can register for the one-day event at myvmug.org. They have not yet posted the agenda, but one thing that I know they will be have there is me talking about PowerCLI. I haven’t yet [...]]]></description>
			<content:encoded><![CDATA[<!-- no icon for 'VMware' --><p>The Atlanta VMUG is gearing up for its huge annual event at the Georgia World Congress Center this October 24th! You can <a href="http://www.myvmug.org/e/in/eid=71">register for the one-day event at myvmug.org</a>. They have not yet posted the agenda, but one thing that I know they will be have there is me talking about <a href="http://vmware.com/go/powercli">PowerCLI</a>. <img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://halr9000.com/wp-content/uploads/2011/08/wlEmoticon-smile.png" /> I haven’t yet come up with a topic, but you can assume that:</p>
<ul>
<li>I’ll talk about PowerCLI</li>
<li>I won’t bore you</li>
</ul>
<p>Beyond that is anyone’s guess, but suggestions are welcome. Leave your ideas in the comments below! I’m sure I’ll have a copy or two of some books or training videos to give away, so if nothing else, just show up for a chance at that. <img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://halr9000.com/wp-content/uploads/2011/08/wlEmoticon-smile.png" /></p>
<p>But seriously folks—this will be a huge event. The VMUG leaders are telling me to expect more than 1,000 attendees. Don’t miss it, <a href="http://www.myvmug.org/e/in/eid=71">register now</a>!</p>

<p><a href="http://feedads.g.doubleclick.net/~a/3_vPYAYVI7SscyhUqiJ1ikof3eM/0/da"><img src="http://feedads.g.doubleclick.net/~a/3_vPYAYVI7SscyhUqiJ1ikof3eM/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/3_vPYAYVI7SscyhUqiJ1ikof3eM/1/da"><img src="http://feedads.g.doubleclick.net/~a/3_vPYAYVI7SscyhUqiJ1ikof3eM/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/halr9000?a=v_RhuQPFGuc:6P7-vOyT5bk:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/halr9000?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/halr9000?a=v_RhuQPFGuc:6P7-vOyT5bk:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/halr9000?i=v_RhuQPFGuc:6P7-vOyT5bk:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/halr9000/~4/v_RhuQPFGuc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://halr9000.com/article/942/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://halr9000.com/article/942</feedburner:origLink></item>
		<item>
		<title>VMware Zimbra for Android, one week later</title>
		<link>http://feedproxy.google.com/~r/halr9000/~3/Bli8VYhi0C8/940</link>
		<comments>http://halr9000.com/article/940#comments</comments>
		<pubDate>Thu, 14 Jul 2011 14:10:06 +0000</pubDate>
		<dc:creator>halr9000</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[zimbra]]></category>

		<guid isPermaLink="false">http://halr9000.com/article/940</guid>
		<description><![CDATA[Been using this for work email for over a week and I still really like it. Has a couple minor bugs, is missing a few features that I had in Touchdown. But overall, it is really very good. It is much better than the stock Android Exchange client, that is clear. It does folder management [...]]]></description>
			<content:encoded><![CDATA[<!-- no icon for 'Android' --><p>Been using this for work email for over a week and I still really like it. Has a couple minor bugs, is missing a few features that I had in Touchdown. But overall, it is really very good. It is much better than the stock Android Exchange client, that is clear. It does folder management better than TD, and its GUI is a little more pleasing to my eyes. Does not do notes sync, and the task sync seems totally broken for me right now. But email is solid, or I never would have considered using a beta so long. Highly recommended, especially if you never shelled out $ for Touchdown and are only using a stock Froyo/Gingerbread or HTC Exchange client on your Android device.</p>
<p><a href="http://blogs.vmware.com/euc/2011/06/vmware-zimbra-for-android.html">VMware: VMware End User Computing: Introducing VMware Zimbra for Android – A New Fling from VMware Labs!</a></p>

<p><a href="http://feedads.g.doubleclick.net/~a/l8Cl6MX_XXX9CTQZdOwWmjKDSpA/0/da"><img src="http://feedads.g.doubleclick.net/~a/l8Cl6MX_XXX9CTQZdOwWmjKDSpA/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/l8Cl6MX_XXX9CTQZdOwWmjKDSpA/1/da"><img src="http://feedads.g.doubleclick.net/~a/l8Cl6MX_XXX9CTQZdOwWmjKDSpA/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/halr9000?a=Bli8VYhi0C8:I9yW2jfGurs:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/halr9000?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/halr9000?a=Bli8VYhi0C8:I9yW2jfGurs:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/halr9000?i=Bli8VYhi0C8:I9yW2jfGurs:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/halr9000/~4/Bli8VYhi0C8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://halr9000.com/article/940/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://halr9000.com/article/940</feedburner:origLink></item>
		<item>
		<title>Change PowerShell ISE Colors To Match the Console</title>
		<link>http://feedproxy.google.com/~r/halr9000/~3/emuvbpBb6L4/939</link>
		<comments>http://halr9000.com/article/939#comments</comments>
		<pubDate>Mon, 11 Jul 2011 13:29:46 +0000</pubDate>
		<dc:creator>halr9000</dc:creator>
				<category><![CDATA[Powershell]]></category>
		<category><![CDATA[ise]]></category>

		<guid isPermaLink="false">http://halr9000.com/article/939</guid>
		<description><![CDATA[Here’s a quick bit of code to change the color of PowerShell ISE’s output pane to match the colors used in the powershell.exe console: $psise.Options.OutputPaneBackgroundColor = &#34;#012456&#34; $psise.Options.OutputPaneTextBackgroundColor = &#34;#012456&#34; $psise.Options.OutputPaneForegroundColor = &#34;#eeedf0&#34; You can paste these lines into the editor pane and click the run botton to see how it looks. If you like [...]]]></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>Here’s a quick bit of code to change the color of PowerShell ISE’s output pane to match the colors used in the powershell.exe console:</p>
<pre style="font-family: consolas,; font-size: small" class="powershell" #ffffff;?="#ffffff;?" background-color:="background-color:" monospace;="monospace;" courier,="courier," New?,="New?," Courier="Courier"><span style="color: #800080">$psise</span>.Options.OutputPaneBackgroundColor <span style="color: pink">=</span> <span style="color: #800000">&quot;#012456&quot;</span>
<span style="color: #800080">$psise</span>.Options.OutputPaneTextBackgroundColor <span style="color: pink">=</span> <span style="color: #800000">&quot;#012456&quot;</span>
<span style="color: #800080">$psise</span>.Options.OutputPaneForegroundColor <span style="color: pink">=</span> <span style="color: #800000">&quot;#eeedf0&quot;</span></pre>
<p>You can paste these lines into the editor pane and click the run botton to see how it looks. If you like it, add these lines to your ISE profile (notepad $profile) and restart ISE to save the changes.</p>
<p><a href="http://halr9000.com/wp-content/uploads/2011/07/image.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://halr9000.com/wp-content/uploads/2011/07/image_thumb.png" width="644" height="426" /></a></p>

<p><a href="http://feedads.g.doubleclick.net/~a/ktzXGr1ToWfjmB0jZjutFlwplFA/0/da"><img src="http://feedads.g.doubleclick.net/~a/ktzXGr1ToWfjmB0jZjutFlwplFA/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/ktzXGr1ToWfjmB0jZjutFlwplFA/1/da"><img src="http://feedads.g.doubleclick.net/~a/ktzXGr1ToWfjmB0jZjutFlwplFA/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/halr9000?a=emuvbpBb6L4:sqBLAnElIXg:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/halr9000?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/halr9000?a=emuvbpBb6L4:sqBLAnElIXg:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/halr9000?i=emuvbpBb6L4:sqBLAnElIXg:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/halr9000/~4/emuvbpBb6L4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://halr9000.com/article/939/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://halr9000.com/article/939</feedburner:origLink></item>
		<item>
		<title>Thanks For Nothing, MOM! (I mean, System Center Operations Manager, not you, Mom)</title>
		<link>http://feedproxy.google.com/~r/halr9000/~3/QI8Gqp9INR8/936</link>
		<comments>http://halr9000.com/article/936#comments</comments>
		<pubDate>Mon, 23 May 2011 12:29:26 +0000</pubDate>
		<dc:creator>halr9000</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[System Center Operations Manager]]></category>

		<guid isPermaLink="false">http://halr9000.com/article/936</guid>
		<description><![CDATA[Just wanted to vent a bit of frustration with System Center Operations Manager this morning. As you can see from the task manager shot below, SCOM (showing its Microsoft Operations Manager roots with the process name) likes to eat memory. I left it running over the weekend on my work PC. Bad idea. P.S. Mom, [...]]]></description>
			<content:encoded><![CDATA[<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>Just wanted to vent a bit of frustration with System Center Operations Manager this morning. As you can see from the task manager shot below, SCOM (showing its Microsoft Operations Manager roots with the process name) likes to eat memory. I left it running over the weekend on my work PC. Bad idea. </p>
<p><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://halr9000.com/wp-content/uploads/2011/05/image_thumb1.png" width="597" height="568" /></p>
<p>P.S. Mom, this has nothing to do with you, I promise!</p>

<p><a href="http://feedads.g.doubleclick.net/~a/d14KrjD2ojwup5QSOkSs7rDG0fU/0/da"><img src="http://feedads.g.doubleclick.net/~a/d14KrjD2ojwup5QSOkSs7rDG0fU/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/d14KrjD2ojwup5QSOkSs7rDG0fU/1/da"><img src="http://feedads.g.doubleclick.net/~a/d14KrjD2ojwup5QSOkSs7rDG0fU/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/halr9000?a=QI8Gqp9INR8:IInUgHKrgyU:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/halr9000?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/halr9000?a=QI8Gqp9INR8:IInUgHKrgyU:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/halr9000?i=QI8Gqp9INR8:IInUgHKrgyU:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/halr9000/~4/QI8Gqp9INR8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://halr9000.com/article/936/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://halr9000.com/article/936</feedburner:origLink></item>
		<item>
		<title>Quickly Duplicate Windows Features and Roles On Another Server Using PowerShell</title>
		<link>http://feedproxy.google.com/~r/halr9000/~3/Ikkovdqlm9c/934</link>
		<comments>http://halr9000.com/article/934#comments</comments>
		<pubDate>Fri, 20 May 2011 15:59:24 +0000</pubDate>
		<dc:creator>halr9000</dc:creator>
				<category><![CDATA[Powershell]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[ServerManager]]></category>
		<category><![CDATA[Windows Server 2008 R2]]></category>

		<guid isPermaLink="false">http://halr9000.com/article/934</guid>
		<description><![CDATA[If you have a server that needs to have the same Windows Server features and roles as another system, here’s an easy way to quickly get that done using PowerShell. I did this logged into each server locally, but you could easily use PowerShell remoting to do the same thing. Step 1: Run PowerShell with [...]]]></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>If you have a server that needs to have the same Windows Server features and roles as another system, here’s an easy way to quickly get that done using PowerShell. I did this logged into each server locally, but you could easily use PowerShell remoting to do the same thing.</p>
<h3>Step 1: Run PowerShell with ServerManager module:</h3>
<p><a href="http://halr9000.com/wp-content/uploads/2011/05/image.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://halr9000.com/wp-content/uploads/2011/05/image_thumb.png" width="353" height="501"/></a></p>
<h3>Step 2: Export list of currently installed features to XML</h3>
<pre style="font-family: consolas,; font-size: small" class="powershell" #ffffff;? background-color: monospace; courier, New?, Courier>&nbsp;</pre>
<pre style="font-family: consolas,; font-size: small" class="powershell" #ffffff;? background-color: monospace; courier, New?, Courier>Get<span style="color: pink">-</span>WindowsFeature <span style="color: pink">|</span> <span style="color: pink">?</span> <span style="color: #000000">{</span> <a href="about:blank"><span style="color: #000080">$_</span></a>.installed <span style="color: #000000">}</span> <span style="color: pink">|</span> <span style="color: #008080; font-weight: bold">Export-Clixml</span> <a href="file://\\server\share\features.xml">\\server\share\features.xml</a></pre>
<h3>&nbsp;</h3>
<h3>Step 3: On second server, run PowerShell and import XML</h3>
<pre style="font-family: consolas,; font-size: small" class="powershell" #ffffff;? background-color: monospace; courier, New?, Courier><span style="color: #800080"></span>&nbsp;</pre>
<pre style="font-family: consolas,; font-size: small" class="powershell" #ffffff;? background-color: monospace; courier, New?, Courier><span style="color: #800080">$f</span> <span style="color: pink">=</span> <span style="color: #008080; font-weight: bold">Import-Clixml</span> <a href="file://\\server\share\features.xml">\\server\share\features.xml</a></pre>
<h3>&nbsp;</h3>
<h3>Step 4: Pipe that bad boy into Add-WindowsFeature!</h3>
<pre style="font-family: consolas,; font-size: small" class="powershell" #ffffff;? background-color: monospace; courier, New?, Courier><span style="color: #800080"></span>&nbsp;</pre>
<pre style="font-family: consolas,; font-size: small" class="powershell" #ffffff;? background-color: monospace; courier, New?, Courier><span style="color: #800080">$f</span> <span style="color: pink">|</span> Add<span style="color: pink">-</span>WindowsFeature</pre>
<h3>&nbsp;</h3>
<h3>Step 5: Restart, if needed</h3>
<pre style="font-family: consolas,; font-size: small" class="powershell" #ffffff;? background-color: monospace; courier, New?, Courier>&nbsp;</pre>
<pre style="font-family: consolas,; font-size: small" class="powershell" #ffffff;? background-color: monospace; courier, New?, Courier>Restart<span style="color: pink">-</span>Computer</pre>
<p>That’s it!</p>

<p><a href="http://feedads.g.doubleclick.net/~a/jUKVI7N4h9EjAeL7ey45V3ATp1o/0/da"><img src="http://feedads.g.doubleclick.net/~a/jUKVI7N4h9EjAeL7ey45V3ATp1o/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/jUKVI7N4h9EjAeL7ey45V3ATp1o/1/da"><img src="http://feedads.g.doubleclick.net/~a/jUKVI7N4h9EjAeL7ey45V3ATp1o/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/halr9000?a=Ikkovdqlm9c:DGy2LzAnjDY:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/halr9000?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/halr9000?a=Ikkovdqlm9c:DGy2LzAnjDY:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/halr9000?i=Ikkovdqlm9c:DGy2LzAnjDY:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/halr9000/~4/Ikkovdqlm9c" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://halr9000.com/article/934/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://halr9000.com/article/934</feedburner:origLink></item>
		<item>
		<title>Had a Great Time at TechEd!</title>
		<link>http://feedproxy.google.com/~r/halr9000/~3/BuJQ81BgIP0/930</link>
		<comments>http://halr9000.com/article/930#comments</comments>
		<pubDate>Thu, 19 May 2011 17:25:35 +0000</pubDate>
		<dc:creator>halr9000</dc:creator>
				<category><![CDATA[Powershell]]></category>
		<category><![CDATA[asides]]></category>
		<category><![CDATA[TechEd]]></category>

		<guid isPermaLink="false">http://halr9000.com/article/930</guid>
		<description><![CDATA[I was only able to attend one full day of the show, but it was a pretty productive day for me. I gave a &#8220;birds of a feather&#8221; session to a packed room on Tuesday that was really well received. That was followed up with meeting with folks from Train Signal, Sapien, Cisco, amd 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 'asides' --><p>I was only able to attend one full day of the show, but it was a pretty productive day for me. I gave a &#8220;birds of a feather&#8221; session to a packed room on Tuesday that was really well received. That was followed up with meeting with folks from Train Signal, Sapien, Cisco, amd several others. Then, I hung out at the Powershell and Scripting Guys booths for a while. After lunch with Jason Shirk from the Powershell team, I met with Kirk Munro to get the skinny on PowerGUI Pro 3.0. I did record it for <a href="http://powerscripting.net">the podcast</a>, so look for that to be published to the site very soon.</p>
<p>Speaking of the podcast, I was able to meet some very interesting people who have committed to coming on the show to talk about what they are doing with Powershell! As always, follow our website for show news about upcoming guests.</p>
<p>While taking a break in the Connect Zone, I met up with my MVP lead. Garth put up a <a href="http://www.youtube.com/watch?v=XhUOvpncGmo&#038;feature=youtube_gdata_player">short video</a> where we talked about TechEd. I hope you find it interesting, or at least good fodder for making fun of me. <img src='http://halr9000.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Man, I need to blog more. Spoiled by Twitter!</p>

<p><a href="http://feedads.g.doubleclick.net/~a/OssufjzE3d6qbZ09uS99Et7euew/0/da"><img src="http://feedads.g.doubleclick.net/~a/OssufjzE3d6qbZ09uS99Et7euew/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/OssufjzE3d6qbZ09uS99Et7euew/1/da"><img src="http://feedads.g.doubleclick.net/~a/OssufjzE3d6qbZ09uS99Et7euew/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/halr9000?a=BuJQ81BgIP0:hjFqDeh2DjE:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/halr9000?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/halr9000?a=BuJQ81BgIP0:hjFqDeh2DjE:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/halr9000?i=BuJQ81BgIP0:hjFqDeh2DjE:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/halr9000/~4/BuJQ81BgIP0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://halr9000.com/article/930/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://halr9000.com/article/930</feedburner:origLink></item>
		<item>
		<title>TechMentor is coming soon!</title>
		<link>http://feedproxy.google.com/~r/halr9000/~3/rhfrUwIIjS8/929</link>
		<comments>http://halr9000.com/article/929#comments</comments>
		<pubDate>Fri, 25 Feb 2011 03:50:14 +0000</pubDate>
		<dc:creator>halr9000</dc:creator>
				<category><![CDATA[Powershell]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[asides]]></category>

		<guid isPermaLink="false">http://halr9000.com/article/929</guid>
		<description><![CDATA[I’m not speaking this year, but I was really impressed when I spoke at TM Orlando a couple of years ago. You should check it out, and here’s a discount! You&#8217;re not too late for TechMentor Orlando (http://www.techmentorevents.com/orlando2011), March 14 &#8211; 18, 2011 at Disney&#8217;s Yacht Club. TechMentor is offering you the best discount so [...]]]></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' --><!-- no icon for 'asides' --><p>I’m not speaking this year, but I was really impressed when I spoke at TM Orlando a couple of years ago. You should check it out, and here’s a discount!</p>
<p>You&#8217;re not too late for TechMentor Orlando (<a href="http://www.techmentorevents.com/orlando2011">http://www.techmentorevents.com/orlando2011</a>), March 14 &#8211; 18, 2011 at Disney&#8217;s Yacht Club.    <br />TechMentor is offering you the best discount so far &#8211; $400 discount off the 5 Day Best Value Conference Pass (discount applies to the Standard rate and new registrations only)! Register at <a href="http://bit.ly/TMReg">http://bit.ly/TMReg</a> with the code UGTM10 for the discount.    <br />If you&#8217;ve never attended it, TechMentor is 5 intensive and informative days of immediately-applicable training on today&#8217;s critical IT topics &#8211; everything from Active Directory to Virtualization &#8211; with a specific track and several sessions on PowerShell. Go to <a href="http://bit.ly/TMPwrShl">http://bit.ly/TMPwrShl</a> if you want to know more about sessions and speakers.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/a47C1RgHDiq_A0As0PMw0s946B0/0/da"><img src="http://feedads.g.doubleclick.net/~a/a47C1RgHDiq_A0As0PMw0s946B0/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/a47C1RgHDiq_A0As0PMw0s946B0/1/da"><img src="http://feedads.g.doubleclick.net/~a/a47C1RgHDiq_A0As0PMw0s946B0/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/halr9000?a=rhfrUwIIjS8:SAIK-qHIwmM:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/halr9000?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/halr9000?a=rhfrUwIIjS8:SAIK-qHIwmM:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/halr9000?i=rhfrUwIIjS8:SAIK-qHIwmM:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/halr9000/~4/rhfrUwIIjS8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://halr9000.com/article/929/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://halr9000.com/article/929</feedburner:origLink></item>
		<item>
		<title>Kill that VM!</title>
		<link>http://feedproxy.google.com/~r/halr9000/~3/MSezlbOjcIY/928</link>
		<comments>http://halr9000.com/article/928#comments</comments>
		<pubDate>Tue, 15 Feb 2011 04:06:44 +0000</pubDate>
		<dc:creator>halr9000</dc:creator>
				<category><![CDATA[PowerCLI]]></category>
		<category><![CDATA[Powershell]]></category>
		<category><![CDATA[stuck vm]]></category>
		<category><![CDATA[TrainSignal]]></category>

		<guid isPermaLink="false">http://halr9000.com/article/928</guid>
		<description><![CDATA[That’s right, I’m going to go there—with PowerCLI! The topic of how to kill a stuck or hung VM has been done to death using SSH and a few arcane shell commands, or a long-running support script. But did you know you can do the same thing using PowerCLI? I’ll be teaching you how in [...]]]></description>
			<content:encoded><![CDATA[<!-- no icon for 'PowerCLI' --><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>That’s right, I’m going to go there—with <a href="http://vmware.com/go/powercli">PowerCLI</a>! The topic of how to kill a stuck or hung VM has been done to death using SSH and a few arcane shell commands, or a long-running support script. But did you know you can do the same thing using PowerCLI? I’ll be teaching you how in my latest PowerCLI training video from <a href="http://trainsignal.com">TrainSignal</a>. If I get the time, I’ll put put up a detailed blog post detailing how its done. For now though—just a tease. <img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://halr9000.com/wp-content/uploads/2011/02/wlEmoticon-smile1.png" /></p>
<p><a href="http://halr9000.com/wp-content/uploads/2011/02/image.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://halr9000.com/wp-content/uploads/2011/02/image_thumb.png" width="644" height="484" /></a></p>

<p><a href="http://feedads.g.doubleclick.net/~a/XBMZf1JaKkjF5i-xIWXSOFvras0/0/da"><img src="http://feedads.g.doubleclick.net/~a/XBMZf1JaKkjF5i-xIWXSOFvras0/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/XBMZf1JaKkjF5i-xIWXSOFvras0/1/da"><img src="http://feedads.g.doubleclick.net/~a/XBMZf1JaKkjF5i-xIWXSOFvras0/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/halr9000?a=MSezlbOjcIY:v7LNgvS19d4:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/halr9000?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/halr9000?a=MSezlbOjcIY:v7LNgvS19d4:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/halr9000?i=MSezlbOjcIY:v7LNgvS19d4:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/halr9000/~4/MSezlbOjcIY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://halr9000.com/article/928/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://halr9000.com/article/928</feedburner:origLink></item>
		<item>
		<title>PowerCLI Quick Tip: Get VM Uptime</title>
		<link>http://feedproxy.google.com/~r/halr9000/~3/b1Jle1n5y58/922</link>
		<comments>http://halr9000.com/article/922#comments</comments>
		<pubDate>Wed, 02 Feb 2011 20:21:23 +0000</pubDate>
		<dc:creator>halr9000</dc:creator>
				<category><![CDATA[PowerCLI]]></category>
		<category><![CDATA[Powershell]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[uptime]]></category>
		<category><![CDATA[Virtual Machine]]></category>
		<category><![CDATA[VM]]></category>

		<guid isPermaLink="false">http://halr9000.com/article/922</guid>
		<description><![CDATA[Well, technically, it’s not uptime, it’s “last boot time”, but you know what I mean. I think this is much more useful than the number of seconds since the last boot anyway… $LastBootProp = @{ Name = 'LastBootTime' Expression = { ( Get-Date ) - ( New-TimeSpan -Seconds $_.Summary.QuickStats.UptimeSeconds ) } } Get-VM &#124; Get-View [...]]]></description>
			<content:encoded><![CDATA[<!-- no icon for 'PowerCLI' --><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>Well, technically, it’s not uptime, it’s “last boot time”, but you know what I mean. I think this is much more useful than the number of seconds since the last boot anyway…</p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:4c80c01d-bdb3-411b-a65e-f811a74ba576" class="wlWriterEditableSmartContent">
<pre class="brush: perl; gutter: true; first-line: 1; tab-size: 4;  toolbar: false;  width: 747px; height: 134px;" style=" width: 747px; height: 134px;overflow: auto;">$LastBootProp = @{
  Name = 'LastBootTime'
    Expression = {
      ( Get-Date ) - ( New-TimeSpan -Seconds $_.Summary.QuickStats.UptimeSeconds )
	}
}
Get-VM | Get-View | select Name, $LastBootProp</pre>
<p><!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --></div>
<p>In case you are curious, a “quick tip” means that I don’t have time to write a longer post. <img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://halr9000.com/wp-content/uploads/2011/02/wlEmoticon-smile.png" /> Hey, it’s better than not sharing!</p>

<p><a href="http://feedads.g.doubleclick.net/~a/osOIIRU-OLA_7ItcE1pBkBFp-fk/0/da"><img src="http://feedads.g.doubleclick.net/~a/osOIIRU-OLA_7ItcE1pBkBFp-fk/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/osOIIRU-OLA_7ItcE1pBkBFp-fk/1/da"><img src="http://feedads.g.doubleclick.net/~a/osOIIRU-OLA_7ItcE1pBkBFp-fk/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/halr9000?a=b1Jle1n5y58:RNSsUquMNB4:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/halr9000?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/halr9000?a=b1Jle1n5y58:RNSsUquMNB4:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/halr9000?i=b1Jle1n5y58:RNSsUquMNB4:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/halr9000/~4/b1Jle1n5y58" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://halr9000.com/article/922/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		<feedburner:origLink>http://halr9000.com/article/922</feedburner:origLink></item>
		<item>
		<title>Which Dream (Virtualization) Layer Are We In Again?</title>
		<link>http://feedproxy.google.com/~r/halr9000/~3/UFhPZVw2-fg/920</link>
		<comments>http://halr9000.com/article/920#comments</comments>
		<pubDate>Sun, 30 Jan 2011 17:49:57 +0000</pubDate>
		<dc:creator>halr9000</dc:creator>
				<category><![CDATA[VMware]]></category>
		<category><![CDATA[diagram]]></category>
		<category><![CDATA[inception]]></category>
		<category><![CDATA[lab]]></category>
		<category><![CDATA[visio]]></category>

		<guid isPermaLink="false">http://halr9000.com/article/920</guid>
		<description><![CDATA[I think the movie Inception was a pretty good analogy to my home virtual lab. Here’s my latest Visio diagram. All of this is hosted on a single quad-core HP workstation with 8 GB RAM.]]></description>
			<content:encoded><![CDATA[<!-- no icon for 'VMware' --><p><a href="http://www.amazon.com/gp/product/B002ZG981E?ie=UTF8&amp;tag=techprosaic-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B002ZG981E"><img style="display: inline; float: left" align="left" src="http://ecx.images-amazon.com/images/I/510BJ7kkgNL._SL160_.jpg" /></a>I think the movie Inception was a pretty good analogy to my home virtual lab. Here’s my latest Visio diagram. All of this is hosted on a single quad-core HP workstation with 8 GB RAM.</p>
<p><a href="http://halr9000.com/wp-content/uploads/2011/01/image.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://halr9000.com/wp-content/uploads/2011/01/image_thumb.png" width="644" height="453" /></a></p>

<p><a href="http://feedads.g.doubleclick.net/~a/8IoViOGFI_fwZmxWChdB3iGQL30/0/da"><img src="http://feedads.g.doubleclick.net/~a/8IoViOGFI_fwZmxWChdB3iGQL30/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/8IoViOGFI_fwZmxWChdB3iGQL30/1/da"><img src="http://feedads.g.doubleclick.net/~a/8IoViOGFI_fwZmxWChdB3iGQL30/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/halr9000?a=UFhPZVw2-fg:1hICt7xfvz4:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/halr9000?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/halr9000?a=UFhPZVw2-fg:1hICt7xfvz4:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/halr9000?i=UFhPZVw2-fg:1hICt7xfvz4:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/halr9000/~4/UFhPZVw2-fg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://halr9000.com/article/920/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://halr9000.com/article/920</feedburner:origLink></item>
		<item>
		<title>Deleting Computer Objects with PowerShell</title>
		<link>http://feedproxy.google.com/~r/halr9000/~3/tdw1-CjCFSA/916</link>
		<comments>http://halr9000.com/article/916#comments</comments>
		<pubDate>Fri, 14 Jan 2011 15:41:41 +0000</pubDate>
		<dc:creator>halr9000</dc:creator>
				<category><![CDATA[Powershell]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Quest AD Cmdlets;Active Directory;100-level]]></category>

		<guid isPermaLink="false">http://halr9000.com/article/916</guid>
		<description><![CDATA[First of all—I feel like such a n00b to be posting this. It’s fair to say that I know a bit about PowerShell but, man, the world is so big and I certainly do not know it all. As I always say, if I didn’t learn something today, then I must be dead. Ok, on [...]]]></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>First of all—I feel like such a n00b to be posting this. It’s fair to say that I know a bit about PowerShell but, man, the world is so big and I certainly do not know it all. As I always say, if I didn’t learn something today, then I must be dead.</p>
<p>Ok, on to the learning. As you may have heard, I changed jobs recently. I now work at a 500-person insurance company with a 70-person IT staff. By far the smallest company I’ve ever worked for (following MCI, HP, IBM, The Home Depot). In this new job, I have to wear many hats, which should be no surprise to those of you who work in SMB! I think it’s great, actually, because I’m exercising my brain in ways it hasn’t been in ages. For example, I don’t know crap about Active Directory, at least relative to other aspects of Windows considering the amount of time that I’ve called myself a Windows admin. So when it came time for me to do some routine AD cleanup, I certainly had to learn a few things—which is a good thing to me.</p>
<p>The task ahead of me was that there were tons of stale AD computer accounts in our domain. (See, I call it a domain, that’s how old my AD knowledge is.) Normally, this doesn’t hurt anything, but in our case, we have an anti-virus app which allocates licenses automatically based on the computer objects! So we were wasting licenses on computers which didn’t exist, and that needed cleaning up.</p>
<p>Of course, my first thought was to do it with PowerShell. I already had the venerable Quest AD snap-in loaded, so I just ran a quick one-liner to make my list of potential accounts. This was the easy part.</p>
<pre style="font-family: consolas,; font-size: small" class="powershell" courier="courier" new?,="New?," courier,="courier," monospace;="monospace;" background-color:="background-color:" #ffffff;?="#ffffff;?"><span style="color: #800080">$c</span> <span style="color: pink">=</span> Get<span style="color: pink">-</span>QADComputer <span style="color: pink">-</span>InactiveFor <span style="color: #804000">90</span></pre>
<p>After doing some sanity ping checks to make sure this list was good, I went to delete the first one:</p>
<pre style="font-family: consolas,; font-size: small" class="powershell" courier="courier" new?,="New?," courier,="courier," monospace;="monospace;" background-color:="background-color:" #ffffff;?="#ffffff;?">PS<span style="color: pink">&gt;</span> <span style="color: #800080">$c</span><span style="color: #000000">[</span><span style="color: #804000">0</span><span style="color: #000000">]</span> <span style="color: pink">|</span> Remove<span style="color: pink">-</span>QADObject</pre>
<pre style="font-family: consolas,; font-size: small" class="powershell" courier="courier" new?,="New?," courier,="courier," monospace;="monospace;" background-color:="background-color:" #ffffff;?="#ffffff;?">&#160;&#160; </pre>
<pre style="font-family: consolas,; font-size: small" class="powershell" courier="courier" new?,="New?," courier,="courier," monospace;="monospace;" background-color:="background-color:" #ffffff;?="#ffffff;?">Warning<span style="color: pink">!</span>
Are you sure you want to delete this object: CN<span style="color: pink">=</span>foobar<span style="color: pink">,</span>DC<span style="color: pink">=</span>domain<span style="color: pink">,</span>DC<span style="color: pink">=</span>com<span style="color: pink">?</span>
<span style="color: #000000">[</span>Y<span style="color: #000000">]</span> Yes  <span style="color: #000000">[</span>A<span style="color: #000000">]</span> Yes to All  <span style="color: #000000">[</span>N<span style="color: #000000">]</span> No  <span style="color: #000000">[</span>L<span style="color: #000000">]</span> No to All  <span style="color: #000000">[</span>S<span style="color: #000000">]</span> Suspend  <span style="color: #000000">[</span><span style="color: pink">?</span><span style="color: #000000">]</span> Help <span style="color: #000000">(</span>default is <span style="color: #800000">&quot;Y&quot;</span><span style="color: #000000">)</span>:
Remove<span style="color: pink">-</span>QADObject : The directory service can perform the requested operation only on a leaf object.
At line:<span style="color: #804000">1</span> char:<span style="color: #804000">25</span>
<span style="color: pink">+</span> <span style="color: #800080">$c</span><span style="color: #000000">[</span><span style="color: #804000">0</span><span style="color: #000000">]</span> <span style="color: pink">|</span> Remove<span style="color: pink">-</span>QADObject <span style="color: pink">&lt;&lt;&lt;&lt;</span>
    <span style="color: pink">+</span> CategoryInfo          : NotSpecified: <span style="color: #000000">(</span>:<span style="color: #000000">)</span> <span style="color: #000000">[</span>Remove<span style="color: pink">-</span>QADObject<span style="color: #000000">]</span><span style="color: pink">,</span> DirectoryServicesCOMException
    <span style="color: pink">+</span> FullyQualifiedErrorId : System.DirectoryServices.DirectoryServicesCOMException<span style="color: pink">,</span>Quest.ActiveRoles.ArsPowerShell
   eObjectCmdlet</pre>
<p>Oops, that didn’t work! Well, I did <a href="http://www.vistax64.com/powershell/200911-unable-delete-object-using-remove-qadobject.html">some research</a> and found an old newsgroup post that says that computer objects are really containers and that in order to delete them, you have to use the DeleteTree switch. So, I tried that:</p>
<pre style="font-family: consolas,; font-size: small" class="powershell" courier="courier" new?,="New?," courier,="courier," monospace;="monospace;" background-color:="background-color:" #ffffff;?="#ffffff;?">PS<span style="color: pink">&gt;</span> <span style="color: #800080">$c</span><span style="color: #000000">[</span><span style="color: #804000">0</span><span style="color: #000000">]</span> <span style="color: pink">|</span> Remove<span style="color: pink">-</span>QADObject –DeleteTree</pre>
<pre style="font-family: consolas,; font-size: small" class="powershell" courier="courier" new?,="New?," courier,="courier," monospace;="monospace;" background-color:="background-color:" #ffffff;?="#ffffff;?">&#160;&#160; </pre>
<pre style="font-family: consolas,; font-size: small" class="powershell" courier="courier" new?,="New?," courier,="courier," monospace;="monospace;" background-color:="background-color:" #ffffff;?="#ffffff;?">Warning<span style="color: pink">!</span>
Are you sure you want to delete this object and its children: CN<span style="color: pink">=</span>foobar<span style="color: pink">,</span>DC<span style="color: pink">=</span>domain<span style="color: pink">,</span>DC<span style="color: pink">=</span>com<span style="color: pink">?</span>
<span style="color: #000000">[</span>Y<span style="color: #000000">]</span> Yes  <span style="color: #000000">[</span>A<span style="color: #000000">]</span> Yes to All  <span style="color: #000000">[</span>N<span style="color: #000000">]</span> No  <span style="color: #000000">[</span>L<span style="color: #000000">]</span> No to All  <span style="color: #000000">[</span>S<span style="color: #000000">]</span> Suspend  <span style="color: #000000">[</span><span style="color: pink">?</span><span style="color: #000000">]</span> Help <span style="color: #000000">(</span>default is <span style="color: #800000">&quot;Y&quot;</span><span style="color: #000000">)</span>:
Remove<span style="color: pink">-</span>QADObject : Access is denied. <span style="color: #000000">(</span>Exception from HRESULT: 0x80070005 <span style="color: #000000">(</span>E_ACCESSDENIED<span style="color: #000000">)</span><span style="color: #000000">)</span>
At line:<span style="color: #804000">1</span> char:<span style="color: #804000">25</span>
<span style="color: pink">+</span> <span style="color: #800080">$c</span><span style="color: #000000">[</span><span style="color: #804000">0</span><span style="color: #000000">]</span> <span style="color: pink">|</span> Remove<span style="color: pink">-</span>QADObject <span style="color: pink">&lt;&lt;&lt;&lt;</span>  <span style="color: pink">-</span>DeleteTree
    <span style="color: pink">+</span> CategoryInfo          : NotSpecified: <span style="color: #000000">(</span>:<span style="color: #000000">)</span> <span style="color: #000000">[</span>Remove<span style="color: pink">-</span>QADObject<span style="color: #000000">]</span><span style="color: pink">,</span> UnauthorizedAccessException
    <span style="color: pink">+</span> FullyQualifiedErrorId : System.UnauthorizedAccessException<span style="color: pink">,</span>Quest.ActiveRoles.ArsPowerShellSnapIn.Cmdlets.RemoveO
   bjectCmdlet</pre>
<p>Access denied! So, I tried an elevated shell. No help. Back to Google. I searched for “<a href="http://www.google.com/search?sourceid=chrome&amp;ie=UTF-8&amp;q=unable+remove-qadobject+leaf#sclient=psy&amp;hl=en&amp;q=access+denied+remove-qadobject+deletetree&amp;aq=f&amp;aqi=&amp;aql=&amp;oq=&amp;pbx=1&amp;psj=1&amp;fp=ee5b8d49ec6ea034">access denied remove-qadobject deletetree</a>” and the <a href="http://www.google.com/search?sourceid=chrome&amp;ie=UTF-8&amp;q=unable+remove-qadobject+leaf#sclient=psy&amp;hl=en&amp;q=access+denied+remove-qadobject+deletetree&amp;aq=f&amp;aqi=&amp;aql=&amp;oq=&amp;pbx=1&amp;psj=1&amp;fp=ee5b8d49ec6ea034">third hit</a> looked interesting. It was a section on working with computer objects in the book Active Directory Cookbook (awesome that google books does that). From reading this, I realized that somewhere in the permissions hierarchy, these computer objects had accidental deletion prevention enabled! Luckily, they had some PowerShell code that I quickly adapted to my situation:</p>
<pre style="font-family: consolas,; font-size: small" class="powershell" courier="courier" new?,="New?," courier,="courier," monospace;="monospace;" background-color:="background-color:" #ffffff;?="#ffffff;?">PS<span style="color: pink">&gt;</span> <span style="color: #800080">$c</span> <span style="color: pink">|</span> Add<span style="color: pink">-</span>QADPermission <span style="color: pink">-</span>Account <span style="color: #800000">'EVERYONE'</span> <span style="color: pink">-</span>Rights <span style="color: #800000">'Delete,DeleteTree'</span> <span style="color: pink">-</span>ApplyTo <span style="color: #800000">'ThisObjectOnly'</span></pre>
<pre style="font-family: consolas,; font-size: small" class="powershell" courier="courier" new?,="New?," courier,="courier," monospace;="monospace;" background-color:="background-color:" #ffffff;?="#ffffff;?"><span style="color: #800000"></span>&#160;&#160; </pre>
<pre style="font-family: consolas,; font-size: small" class="powershell" courier="courier" new?,="New?," courier,="courier," monospace;="monospace;" background-color:="background-color:" #ffffff;?="#ffffff;?">Ctrl   Account                                  Rights                              Source           AppliesTo
<span style="color: pink">----</span>   <span style="color: pink">-------</span>                                  <span style="color: pink">------</span>                              <span style="color: pink">------</span>           <span style="color: pink">---------</span>
       Everyone                                 Special                             Not inherited    This object only
       Everyone                                 Special                             Not inherited    This object only
       Everyone                                 Special                             Not inherited    This object only</pre>
<p>Plus 507 more lines just like that. And then, I tried again and…</p>
<pre style="font-family: consolas,; font-size: small" class="powershell" courier="courier" new?,="New?," courier,="courier," monospace;="monospace;" background-color:="background-color:" #ffffff;?="#ffffff;?">PS<span style="color: pink">&gt;</span> <span style="color: #800080">$c</span> <span style="color: pink">=</span> Get<span style="color: pink">-</span>QADComputer <span style="color: pink">-</span>InactiveFor <span style="color: #804000">90</span>
PS<span style="color: pink">&gt;</span> <span style="color: #800080">$c</span>
PS<span style="color: pink">&gt;</span> </pre>
<p>Success! I hope that this post that illustrates my learning process helps someone else who comes across the same situation.</p>

<p><a href="http://feedads.g.doubleclick.net/~a/8CH0VPhVN1AyfYnXXdNEJ0yiEQE/0/da"><img src="http://feedads.g.doubleclick.net/~a/8CH0VPhVN1AyfYnXXdNEJ0yiEQE/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/8CH0VPhVN1AyfYnXXdNEJ0yiEQE/1/da"><img src="http://feedads.g.doubleclick.net/~a/8CH0VPhVN1AyfYnXXdNEJ0yiEQE/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/halr9000?a=tdw1-CjCFSA:IeA73bwzqEg:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/halr9000?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/halr9000?a=tdw1-CjCFSA:IeA73bwzqEg:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/halr9000?i=tdw1-CjCFSA:IeA73bwzqEg:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/halr9000/~4/tdw1-CjCFSA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://halr9000.com/article/916/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://halr9000.com/article/916</feedburner:origLink></item>
		<item>
		<title>How Can You Obtain PowerShell Training?</title>
		<link>http://feedproxy.google.com/~r/halr9000/~3/-nXrXoMjKwg/911</link>
		<comments>http://halr9000.com/article/911#comments</comments>
		<pubDate>Wed, 24 Nov 2010 14:33:00 +0000</pubDate>
		<dc:creator>halr9000</dc:creator>
				<category><![CDATA[Powershell]]></category>
		<category><![CDATA[training]]></category>

		<guid isPermaLink="false">http://halr9000.com/article/911</guid>
		<description><![CDATA[I had a former co-worker ask me recently how a company in Atlanta could obtain training in PowerShell. I wanted to share the info here as well. Don Jones of Concentrated Tech offers onsite training as well as other services Don was the lead author for the official Microsoft (MOC) courseware for PowerShell, and he&#8217;s [...]]]></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>I had a former co-worker ask me recently how a company in Atlanta could obtain training in PowerShell. I wanted to share the info here as well.</p>
<p></p>
<ul>
<li><a href="http://www.amazon.com/Windows-PowerShell-2-0-Don-Jones/dp/0982131429%3FSubscriptionId%3D0JTCV5ZMHMF7ZYTXGFR2%26tag%3Dtechprosaic-20%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D0982131429"><img style="display: inline; float: right" align="right" src="http://ecx.images-amazon.com/images/I/51QDzFKHoKL._SL160_.jpg" /></a>Don Jones of Concentrated Tech offers <a href="http://concentratedtech.com/training/">onsite training</a> as well as other services Don was the lead author for the official Microsoft (MOC) courseware for PowerShell, and he&#8217;s one of the best IT speakers around. Co-author of PowerShell: TFM </li>
<li><a href="http://jdhitsolutions.com/blog/"></a><a href="http://www.amazon.com/Managing-Active-Directory-Windows-PowerShell/dp/0977659798%3FSubscriptionId%3D0JTCV5ZMHMF7ZYTXGFR2%26tag%3Dtechprosaic-20%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D0977659798"><img style="display: inline; float: right" align="right" src="http://ecx.images-amazon.com/images/I/51S3YXwd8hL._SL160_.jpg" /></a>Jeff Hicks. The other half of PowerShell: TFM, and author of Managing Active Directory with PowerShell: TFM. (<a href="http://www.linkedin.com/in/jefferyhicks">linkedin profile</a>)&#160; </li>
<li>Global Knowledge has a <a href="http://www.globalknowledge.com/training/course.asp?pageid=9&amp;courseid=11107&amp;country=United+States">PowerShell course</a> </li>
<li>So does <a href="http://www.nhgeorgia.com/LocalWeb/catalog/CourseCatalog.aspx?GroupId=398&amp;keyword=powershell">New Horizons</a> </li>
<li><a href="http://www.trainsignal.com/VMware-vSphere-Pro-Series-Training-Vol-1.aspx"><img style="display: inline; float: right" alt="VMware vSphere Training" align="right" src="http://www.trainsignal.com/Assets/ProductImages/vmware_esx_vsphere_able_t.jpg" /></a>I myself produced a set of videos for <a href="http://trainsignal.com">Train Signal</a>. They are geared to VMware admins, so if you fit that bucket, you will like.</li>
</ul>
<ul>
<li><a href="http://www.trainsignal.com/VMware-vSphere-Pro-Series-Training-Vol-1.aspx">VMware vSphere Pro Vol. 1</a></li>
<li><a href="http://www.trainsignal.com/VMware-vSphere-Pro-Series-Training-Vol-2.aspx">VMware vSphere Pro Vol. 2</a></li>
</ul>
<li><a href="http://www.scriptinganswers.com/training.asp">SAPIEN</a> has self-paced training materials, as well as courseware. Of course you&#8217;d still need a trainer to go that route. </li>
<p>Hope this helps!</p>

<p><a href="http://feedads.g.doubleclick.net/~a/3fTGLEUaIfCobajr3Wxh2TYuhNU/0/da"><img src="http://feedads.g.doubleclick.net/~a/3fTGLEUaIfCobajr3Wxh2TYuhNU/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/3fTGLEUaIfCobajr3Wxh2TYuhNU/1/da"><img src="http://feedads.g.doubleclick.net/~a/3fTGLEUaIfCobajr3Wxh2TYuhNU/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/halr9000?a=-nXrXoMjKwg:pqDJzjZW3NQ:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/halr9000?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/halr9000?a=-nXrXoMjKwg:pqDJzjZW3NQ:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/halr9000?i=-nXrXoMjKwg:pqDJzjZW3NQ:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/halr9000/~4/-nXrXoMjKwg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://halr9000.com/article/911/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		<feedburner:origLink>http://halr9000.com/article/911</feedburner:origLink></item>
		<item>
		<title>Quick PowerShell Tip: Echo Parameters Using psBoundParameters</title>
		<link>http://feedproxy.google.com/~r/halr9000/~3/5bq3mRLKJ-U/912</link>
		<comments>http://halr9000.com/article/912#comments</comments>
		<pubDate>Wed, 24 Nov 2010 03:49:00 +0000</pubDate>
		<dc:creator>halr9000</dc:creator>
				<category><![CDATA[Powershell]]></category>
		<category><![CDATA[best practices]]></category>
		<category><![CDATA[debugging]]></category>
		<category><![CDATA[psboundparameters]]></category>
		<category><![CDATA[write-verbose]]></category>

		<guid isPermaLink="false">http://halr9000.com/article/912</guid>
		<description><![CDATA[I’ll talk about this one in detail on an upcoming podcast. In the meantime, I’m afraid this will be a short post without my usual verbosity. However—verbosity just happens to be the subject of this post! If you put a line like the following in your script, and either set $verbosepreference to ‘conitnue’, or use [...]]]></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>I’ll talk about this one in detail on an <a href="http://powerscripting.net">upcoming podcast</a>. In the meantime, I’m afraid this will be a short post without my usual verbosity. However—verbosity just happens to be the subject of this post!</p>
<p>If you put a line like the following in your script, and either set $verbosepreference to ‘conitnue’, or use a –Verbose flag on a function, you’ll get a nice echoing of your parameters back to the console. This can be helpful when debugging a script.</p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:f32c3428-b7e9-4f15-a8ea-c502c7ff2e88:2a33adb3-2da5-4f3b-96fc-fe7ffcc2ce13" class="wlWriterEditableSmartContent">
<pre class="brush: powershell;">$psBoundParameters.GetEnumerator() | ForEach-Object { Write-Verbose "Parameter: $_" }

VERBOSE: Parameter: [ComputerName, cpliis3x]</pre>
</div>

<p><a href="http://feedads.g.doubleclick.net/~a/YTqyvyyCRZw63wV44RbzWFzVGAE/0/da"><img src="http://feedads.g.doubleclick.net/~a/YTqyvyyCRZw63wV44RbzWFzVGAE/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/YTqyvyyCRZw63wV44RbzWFzVGAE/1/da"><img src="http://feedads.g.doubleclick.net/~a/YTqyvyyCRZw63wV44RbzWFzVGAE/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/halr9000?a=5bq3mRLKJ-U:8s4rs-9fdhA:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/halr9000?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/halr9000?a=5bq3mRLKJ-U:8s4rs-9fdhA:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/halr9000?i=5bq3mRLKJ-U:8s4rs-9fdhA:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/halr9000/~4/5bq3mRLKJ-U" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://halr9000.com/article/912/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://halr9000.com/article/912</feedburner:origLink></item>
		<item>
		<title>Paper.Li, a Neat Way to Read Twitter</title>
		<link>http://feedproxy.google.com/~r/halr9000/~3/rWK5zYTjOWI/910</link>
		<comments>http://halr9000.com/article/910#comments</comments>
		<pubDate>Mon, 06 Sep 2010 20:08:50 +0000</pubDate>
		<dc:creator>halr9000</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Powershell]]></category>
		<category><![CDATA[doctordns]]></category>
		<category><![CDATA[newspaper]]></category>
		<category><![CDATA[paper.li]]></category>
		<category><![CDATA[powerscripting]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://halr9000.com/article/910</guid>
		<description><![CDATA[I just read a blog post from Thomas Lee that talked about Paper.Li. I really like this site and thought I’d share as well. In particular, there is a feature to browse tweets by hashtag. I can see this as being really useful for me as I prepare the show notes for the PowerScripting Podcast [...]]]></description>
			<content:encoded><![CDATA[<!-- no icon for 'Internet' --><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>I just read a <a href="http://tfl09.blogspot.com/2010/09/paperli-organising-twitter-information.html">blog post</a> from <a href="http://twitter.com/doctordns">Thomas Lee</a> that talked about <a href="http://paper.li/">Paper.Li</a>. I really like this site and thought I’d share as well. In particular, there is a feature to browse tweets by hashtag. I can see this as being really useful for me as I prepare the show notes for the <a href="http://powerscripting.net">PowerScripting Podcast</a> (the #<a href="http://paper.li/tag/PowerShell">powershell tag</a>, of course). Here’s a screenshot:</p>
<p><a href="http://paper.li/tag/PowerShell"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://halr9000.com/wp-content/uploads/2010/09/image.png" width="679" height="558" /></a></p>
<p>Go check out paper.li!</p>

<p><a href="http://feedads.g.doubleclick.net/~a/rhNxs_whecq1Q3gVhCsOJXa-ax0/0/da"><img src="http://feedads.g.doubleclick.net/~a/rhNxs_whecq1Q3gVhCsOJXa-ax0/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/rhNxs_whecq1Q3gVhCsOJXa-ax0/1/da"><img src="http://feedads.g.doubleclick.net/~a/rhNxs_whecq1Q3gVhCsOJXa-ax0/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/halr9000?a=rWK5zYTjOWI:fTiItmFEGTs:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/halr9000?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/halr9000?a=rWK5zYTjOWI:fTiItmFEGTs:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/halr9000?i=rWK5zYTjOWI:fTiItmFEGTs:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/halr9000/~4/rWK5zYTjOWI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://halr9000.com/article/910/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://halr9000.com/article/910</feedburner:origLink></item>
		<item>
		<title>Interviewed on VIRTUMANIA 20 – Powershell is Latin to Me</title>
		<link>http://feedproxy.google.com/~r/halr9000/~3/VrYDMYOHumQ/906</link>
		<comments>http://halr9000.com/article/906#comments</comments>
		<pubDate>Sun, 25 Jul 2010 03:40:41 +0000</pubDate>
		<dc:creator>halr9000</dc:creator>
				<category><![CDATA[Podcasting]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://halr9000.com/article/906</guid>
		<description><![CDATA[I had a great time chatting with my vNeighbor Rich Brambley, Marc Farley, and Scott Herold on the Virtumania podcast the other day. Please go check out VIRTUMANIA 20 and be sure to download their other episodes. From the blog post: “This week’s discussion focuses on using Powershell in virtual environments instead of a GUI, [...]]]></description>
			<content:encoded><![CDATA[<!-- no icon for 'Podcasting' --><!-- no icon for 'VMware' --><p>I had a great time chatting with my vNeighbor Rich Brambley, Marc Farley, and Scott Herold on the Virtumania podcast the other day. Please go check out <a href="http://virtumania.podbean.com/2010/07/24/virtumania-20-powershell-is-latin-to-me/">VIRTUMANIA 20</a> and be sure to download their <a href="http://virtumania.podbean.com/">other episodes</a>. </p>
<p>From the blog post:</p>
<blockquote><p>“This week’s discussion focuses on using Powershell in virtual environments instead of a GUI, compares learning scripting to learning the verbs and nouns of a new language such as Latin, and highlights several Powershell sites and tools that every administrator should check out.”</p>
</blockquote>

<p><a href="http://feedads.g.doubleclick.net/~a/7LC6ZdG1CbwBGy2fW0mXBFfOZXg/0/da"><img src="http://feedads.g.doubleclick.net/~a/7LC6ZdG1CbwBGy2fW0mXBFfOZXg/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/7LC6ZdG1CbwBGy2fW0mXBFfOZXg/1/da"><img src="http://feedads.g.doubleclick.net/~a/7LC6ZdG1CbwBGy2fW0mXBFfOZXg/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/halr9000?a=VrYDMYOHumQ:-0ebooYk3J8:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/halr9000?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/halr9000?a=VrYDMYOHumQ:-0ebooYk3J8:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/halr9000?i=VrYDMYOHumQ:-0ebooYk3J8:F7zBnMyn0Lo" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/halr9000/~4/VrYDMYOHumQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://halr9000.com/article/906/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://halr9000.com/article/906</feedburner:origLink></item>
		<item>
		<title>Quick PowerCLI Tip: Determine vNetwork Teaming Uplinks for Distributed Virtual Switch PortGroups</title>
		<link>http://feedproxy.google.com/~r/halr9000/~3/pyOy4kk_jB0/903</link>
		<comments>http://halr9000.com/article/903#comments</comments>
		<pubDate>Sat, 17 Jul 2010 19:01:25 +0000</pubDate>
		<dc:creator>halr9000</dc:creator>
				<category><![CDATA[PowerCLI]]></category>
		<category><![CDATA[Powershell]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[portgroup]]></category>

		<guid isPermaLink="false">http://halr9000.com/article/903</guid>
		<description><![CDATA[Need to determine what the uplink policy is for your DVSwitches? Here is a quick PowerCLI snippet to do that. I’d go into more detail but I don’t have time this moment. Consider this longer than a tweet, but shorter than my normal blog post. Here is the corresponding screen in the vSphere Client (pardon [...]]]></description>
			<content:encoded><![CDATA[<!-- no icon for 'PowerCLI' --><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>Need to determine what the uplink policy is for your DVSwitches? Here is a quick <a href="http://vmware.com/go/powercli">PowerCLI</a> snippet to do that. I’d go into more detail but I don’t have time this moment. Consider this longer than a tweet, but shorter than my normal blog post. <img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://halr9000.com/wp-content/uploads/2010/07/wlEmoticonsmile.png" /></p>
<p>Here is the corresponding screen in the vSphere Client (pardon the font issues, I’m running blind-person-size-font) with the relevant portion highlighted:</p>
<p><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" class="wlDisabledImage" title="vSphere client screenshot" border="0" alt="vSphere client screenshot" src="http://halr9000.com/wp-content/uploads/2010/07/image.png" width="753" height="469" /></p>
<p>And the code:</p>
<pre><span style="color: #0000ff">PS</span><span style="color: #000000">&gt;</span><span style="color: #000000"> </span><span style="color: #800080">$pgName</span><span style="color: #000000"> </span><span style="color: #ff0000">=</span><span style="color: #000000"> </span><span style="color: #800000">'</span><span style="color: #800000">Name of your DV port group</span><span style="color: #800000">'</span><span style="color: #000000">
</span><span style="color: #0000ff">PS</span><span style="color: #000000">&gt;</span><span style="color: #000000"> </span><span style="color: #800080">$pg</span><span style="color: #000000"> </span><span style="color: #ff0000">=</span><span style="color: #000000"> </span><span style="color: #5f9ea0">Get-View</span><span style="color: #000000"> </span><span style="color: #5f9ea0">-ViewType</span><span style="color: #000000"> </span><span style="color: #0000ff">DistributedVirtualPortgroup</span><span style="color: #000000"> </span><span style="color: #5f9ea0">-Filter</span><span style="color: #000000"> </span><span style="color: #000000">@</span><span style="color: #000000">{ </span><span style="color: #0000ff">Name</span><span style="color: #000000"> </span><span style="color: #ff0000">=</span><span style="color: #000000"> </span><span style="color: #800080">$pgName</span><span style="color: #000000"> }
</span><span style="color: #0000ff">PS</span><span style="color: #000000">&gt;</span><span style="color: #000000"> </span><span style="color: #800080">$pg</span><span style="color: #000000">.</span><span style="color: #8b4513">Config</span><span style="color: #000000">.</span><span style="color: #8b4513">DefaultPortConfig</span><span style="color: #000000">.</span><span style="color: #8b4513">UplinkTeamingPolicy</span><span style="color: #000000">.</span><span style="color: #8b4513">UplinkPortOrder</span><span style="color: #000000">

</span><span style="color: #0000ff">ActiveUplinkPort</span><span style="color: #000000">  </span><span style="color: #000000">:</span><span style="color: #000000"> {</span><span style="color: #0000ff">dvUplink1</span><span style="color: #000000">,</span><span style="color: #000000"> </span><span style="color: #0000ff">dvUplink2</span><span style="color: #000000">}
</span><span style="color: #0000ff">StandbyUplinkPort</span><span style="color: #000000"> </span><span style="color: #000000">:</span><span style="color: #000000">
</span><span style="color: #0000ff">Inherited</span><span style="color: #000000">         </span><span style="color: #000000">:</span><span style="color: #000000"> </span><span style="color: #0000ff">True</span><span style="color: #000000">
</span><span style="color: #0000ff">DynamicType</span><span style="color: #000000">       </span><span style="color: #000000">:</span><span style="color: #000000">
</span><span style="color: #0000ff">DynamicProperty</span><span style="color: #000000">   </span><span style="color: #000000">:</span></pre>

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

