<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for Huddled Masses</title>
	<atom:link href="http://joelbennett.net/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://joelbennett.net</link>
	<description>The internet home of Joel "Jaykul" Bennett...</description>
	<lastBuildDate>Fri, 27 Apr 2012 12:40:09 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>Comment on Adventures getting MSBuild, TFS and SQL Server Data Tools to work together by Dew Drop &#8211; April 27, 2012 (#1,315) &#124; Alvin Ashcraft&#039;s Morning Dew</title>
		<link>http://joelbennett.net/adventures-getting-msbuild-tfs-and-sql-server-data-tools-to-work-together/comment-page-1/#comment-217729</link>
		<dc:creator>Dew Drop &#8211; April 27, 2012 (#1,315) &#124; Alvin Ashcraft&#039;s Morning Dew</dc:creator>
		<pubDate>Fri, 27 Apr 2012 12:40:09 +0000</pubDate>
		<guid isPermaLink="false">http://huddledmasses.org/?p=1830#comment-217729</guid>
		<description>[...] Adventures getting MSBuild, TFS and SQL Server Data Tools to work together (Joel &#8216;Jaykul&#8217; Bennett) [...]</description>
		<content:encoded><![CDATA[<p>[...] Adventures getting MSBuild, <span class="caps">TFS</span> and <span class="caps">SQL</span> Server Data Tools to work together (Joel &#8216;Jaykul&#8217; Bennett) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Scriptable SSH from PowerShell by Joel 'Jaykul' Bennett</title>
		<link>http://joelbennett.net/scriptable-ssh-from-powershell/comment-page-1/#comment-217636</link>
		<dc:creator>Joel 'Jaykul' Bennett</dc:creator>
		<pubDate>Fri, 20 Apr 2012 04:56:26 +0000</pubDate>
		<guid isPermaLink="false">http://huddledmasses.org/?p=1079#comment-217636</guid>
		<description>Update: There&#039;s now another SSH Library on CodePlex (&quot;SSH.NET&quot;:http://sshnet.codeplex.net), and Joakim Svendsen over at PowerShellAdmin.com has a &quot;PowerShell module using SSH.Net&quot;:http://www.powershelladmin.com/wiki/SSH_from_PowerShell_using_the_SSH.NET_library -- you should check his out too, it even has an Enter-SshSession and the ability to Invoke-SshCommand across multiple Ssh Sessions!</description>
		<content:encoded><![CDATA[<p>Update: There&#8217;s now another <span class="caps">SSH</span> Library on CodePlex (<a href="http://sshnet.codeplex.net"><span class="caps">SSH</span>.NET</a>), and Joakim Svendsen over at PowerShellAdmin.com has a <a href="http://www.powershelladmin.com/wiki/SSH_from_PowerShell_using_the_SSH.NET_library">PowerShell module using <span class="caps">SSH</span>.Net</a> &#8212; you should check his out too, it even has an Enter-SshSession and the ability to Invoke-SshCommand across multiple Ssh Sessions!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PowerShell 3 &#8211; Finally on the DLR! by Joel 'Jaykul' Bennett</title>
		<link>http://joelbennett.net/powershell-3-finally-on-the-dlr/comment-page-1/#comment-216901</link>
		<dc:creator>Joel 'Jaykul' Bennett</dc:creator>
		<pubDate>Fri, 03 Feb 2012 03:27:25 +0000</pubDate>
		<guid isPermaLink="false">http://huddledmasses.org/?p=1780#comment-216901</guid>
		<description>So, yeah ... PowerShell still starts like a .Net app starts, so it&#039;s slower to start than most scripting languages.  And of course, since you can&#039;t store the script pre-compiled, it has to be compiled on first run -- which is kind-of a pain for startup scripts. My impression is that in some cases they&#039;ll automatically cache scripts&#039; pre-compiled versions, but I&#039;m not sure that&#039;s true.

I&#039;m really not sure how CAS applies. I do know that .Net 4 had better defaults for UNC paths, which is a relief, but I&#039;m not a CAS expert.</description>
		<content:encoded><![CDATA[<p>So, yeah &#8230; PowerShell still starts like a .Net app starts, so it&#8217;s slower to start than most scripting languages.  And of course, since you can&#8217;t store the script pre-compiled, it has to be compiled on first run &#8212; which is kind-of a pain for startup scripts. My impression is that in some cases they&#8217;ll automatically cache scripts&#8217; pre-compiled versions, but I&#8217;m not sure that&#8217;s true.</p>
<p>I&#8217;m really not sure how <span class="caps">CAS</span> applies. I do know that .Net 4 had better defaults for <span class="caps">UNC</span> paths, which is a relief, but I&#8217;m not a <span class="caps">CAS</span> expert.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PowerShell 3 &#8211; Finally on the DLR! by Joel 'Jaykul' Bennett</title>
		<link>http://joelbennett.net/powershell-3-finally-on-the-dlr/comment-page-1/#comment-216900</link>
		<dc:creator>Joel 'Jaykul' Bennett</dc:creator>
		<pubDate>Fri, 03 Feb 2012 03:23:09 +0000</pubDate>
		<guid isPermaLink="false">http://huddledmasses.org/?p=1780#comment-216900</guid>
		<description>I should really stick in a toolbar ... it&#039;s textile, but to trigger syntax highlighting I use geshi, which means you have to tell it what language it is with a tag: @&lt;code lang=&quot;posh&quot;&gt;@</description>
		<content:encoded><![CDATA[<p>I should really stick in a toolbar &#8230; it&#8217;s textile, but to trigger syntax highlighting I use geshi, which means you have to tell it what language it is with a tag: <code>&#60;code lang=&#34;posh&#34;&#62;</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PowerShell 3 &#8211; Finally on the DLR! by Josh Einstein</title>
		<link>http://joelbennett.net/powershell-3-finally-on-the-dlr/comment-page-1/#comment-216897</link>
		<dc:creator>Josh Einstein</dc:creator>
		<pubDate>Thu, 02 Feb 2012 15:59:40 +0000</pubDate>
		<guid isPermaLink="false">http://huddledmasses.org/?p=1780#comment-216897</guid>
		<description>Okay I have no idea what I am doing with this comment system. :) I meant to reply, and I tried both HTML and Markdown and can&#039;t seem to format my code like you have.</description>
		<content:encoded><![CDATA[<p>Okay I have no idea what I am doing with this comment system.  <img src='http://joelbennett.net/wordpress/wp-includes/' alt=':)' class='wp-smiley' />  I meant to reply, and I tried both <span class="caps">HTML</span> and Markdown and can&#8217;t seem to format my code like you have.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PowerShell 3 &#8211; Finally on the DLR! by Josh Einstein</title>
		<link>http://joelbennett.net/powershell-3-finally-on-the-dlr/comment-page-1/#comment-216896</link>
		<dc:creator>Josh Einstein</dc:creator>
		<pubDate>Thu, 02 Feb 2012 15:58:50 +0000</pubDate>
		<guid isPermaLink="false">http://huddledmasses.org/?p=1780#comment-216896</guid>
		<description>Ahh thanks, yeah seems like they might want to build in some special case logic for anything imeplementing IDynamicMetaObjectProvider so that it calls the GetDynamicMemberNames method.

In the meantime I used this as a workaround.

&lt;code lang=&quot;posh&quot;&gt;
    function ConvertFrom-DictionaryObject {
        process {
            $Obj = New-Object PSObject 
            foreach ($Key in $_.Keys) {
                Add-Member -InputObject $Obj NoteProperty $Key $_[$Key]
            }
            $Obj
        }
    }
&lt;/code&gt;

But then again doing this is basically the same situation we had in v2.</description>
		<content:encoded><![CDATA[<p>Ahh thanks, yeah seems like they might want to build in some special case logic for anything imeplementing IDynamicMetaObjectProvider so that it calls the GetDynamicMemberNames method.</p>
<p>In the meantime I used this as a workaround.</p>
<div class="posh code posh" style="font-family:monospace;">
&nbsp; &nbsp; <span style="color: #666699; font-weight: bold;">function</span> <span style="color: #0066cc; font-style: italic;">ConvertFrom-<span style="font-style: normal;">DictionaryObject</span></span> <span style="color: #333;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #666699; font-weight: bold;">process</span> <span style="color: #333;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #660033; font-weight: bold;">$Obj</span> <span style="color: #66cc66;">=</span> <span style="color: #0066cc; font-style: italic;">New-<span style="font-style: normal;">Object</span></span> <span style="color: #003366; font-weight: bold;">PSObject</span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #666699; font-weight: bold;">foreach</span> <span style="color: #333;">&#40;</span><span style="color: #660033; font-weight: bold;">$Key</span> <span style="color: #666699; font-weight: bold;">in</span> <span style="color: #660033; font-weight: bold;">$_</span>.<span style="color: #003366;">Keys</span><span style="color: #333;">&#41;</span> <span style="color: #333;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #0066cc; font-style: italic;">Add-<span style="font-style: normal;">Member</span></span> <span style="color: #000066;">-InputObject</span> <span style="color: #660033; font-weight: bold;">$Obj</span> NoteProperty <span style="color: #660033; font-weight: bold;">$Key</span> <span style="color: #660033; font-weight: bold;">$_</span><span style="color: #333;">&#91;</span><span style="color: #660033; font-weight: bold;">$Key</span><span style="color: #333;">&#93;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #333;">&#125;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #660033; font-weight: bold;">$Obj</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #333;">&#125;</span><br />
&nbsp; &nbsp; <span style="color: #333;">&#125;</span><br />
&nbsp;</div>
<p>But then again doing this is basically the same situation we had in v2.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PowerShell 3 &#8211; Finally on the DLR! by Peter Kriegel</title>
		<link>http://joelbennett.net/powershell-3-finally-on-the-dlr/comment-page-1/#comment-216895</link>
		<dc:creator>Peter Kriegel</dc:creator>
		<pubDate>Thu, 02 Feb 2012 08:12:08 +0000</pubDate>
		<guid isPermaLink="false">http://huddledmasses.org/?p=1780#comment-216895</guid>
		<description>Yeah! I have seen the presentation Video from  Jeffrey Snover and Refaat Issa  at the  Build conference.
The say execution of code is up to 6* faster.
 
As a .NET Developer and Admin, I was crying all the time, about the One-way affair, between PowerShell and the .Net Framework. Because PowerShell takes all advantages of the Framework, but there is no backflow from PowerShell to the Framework (PS-Modules/Snapins as Classes into the Framework, to use it in C# or VB natively).
I am Happy to go a step forward in this relationship.

My credo is: PowerShell everywhere! (As a replacement for Kixtart, DOS, VBscript..)
If you want to use PowerShell for Logon scripts there is a Gap. One of the Arguments against PowerShell for this purpose is that PowerShell starts up to slow. How fast is that with V3 and a script?

So I see a need for precompiled scripts, to add more speed! What’s with that?

My next question which comes into mind is; which role plays the .NET Code Access Security in that game?
(I did not take knowledge of the new .NET 4 CAS)</description>
		<content:encoded><![CDATA[<p>Yeah! I have seen the presentation Video from  Jeffrey Snover and Refaat Issa  at the  Build conference.<br />
The say execution of code is up to 6* faster.</p>
<p>As a .<span class="caps">NET</span> Developer and Admin, I was crying all the time, about the One-way affair, between PowerShell and the .Net Framework. Because PowerShell takes all advantages of the Framework, but there is no backflow from PowerShell to the Framework (PS-Modules/Snapins as Classes into the Framework, to use it in C# or VB natively).<br />
I am Happy to go a step forward in this relationship.</p>
<p>My credo is: PowerShell everywhere! (As a replacement for Kixtart, <span class="caps">DOS</span>, VBscript..)<br />
If you want to use PowerShell for Logon scripts there is a Gap. One of the Arguments against PowerShell for this purpose is that PowerShell starts up to slow. How fast is that with V3 and a script?</p>
<p>So I see a need for precompiled scripts, to add more speed! What’s with that?</p>
<p>My next question which comes into mind is; which role plays the .<span class="caps">NET</span> Code Access Security in that game?<br />
(I did not take knowledge of the new .<span class="caps">NET</span> 4 <span class="caps">CAS</span>)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PowerShell 3 &#8211; Finally on the DLR! by Joel 'Jaykul' Bennett</title>
		<link>http://joelbennett.net/powershell-3-finally-on-the-dlr/comment-page-1/#comment-216894</link>
		<dc:creator>Joel 'Jaykul' Bennett</dc:creator>
		<pubDate>Wed, 01 Feb 2012 23:47:06 +0000</pubDate>
		<guid isPermaLink="false">http://huddledmasses.org/?p=1780#comment-216894</guid>
		<description>Ok, yeah, I came up with my own example, and ... I guess this deserves it&#039;s own blog post, but ... it does work, mostly. It needs some help for Get-Member and maybe a format file though.

&lt;code lang=&quot;posh&quot;&gt;
Add-Type -ReferencedAssemblies System.Core, Microsoft.CSharp @&quot;
namespace Expando {
    using System;
    using System.Dynamic;
    using System.Management.Automation;
    
    [Cmdlet(&quot;Get&quot;, &quot;Expando&quot;)]
    public class Test : Cmdlet {

        public static dynamic GetThing() { 
            dynamic expando = new ExpandoObject();
            // Adding New Members
            // properties, methods (and events?) can be added to instances of the ExpandoObject class.
            expando.FirstName = &quot;Joel&quot;;
            expando.LastName = &quot;Bennett&quot;;
            expando.GetFullName = (Func&lt;String&gt;)(() =&gt; { 
                return String.Format(&quot;{0}, {1}&quot;,  expando.LastName, expando.FirstName); 
            });

            return expando;
        }

        protected override void ProcessRecord() {
            WriteObject( GetThing() );
        }
    }
}
&quot;@


$thing = [Expando.Test]::GetThing() 

# Thinks that $thing is a KeyValuePair&lt;String,Object&gt;
$thing &#124; Get-Member

# Shows that $thing is really an ExpandoObject:
Get-Member -InputObject $thing  
&lt;/code&gt;

But even though it&#039;s an ExpandoObject, you can&#039;t figure out what properties are on it without looking at the key/value stuff. Once you know, you can access them, although the methods need .Invoke()ing:

&lt;code lang=&quot;posh&quot;&gt;
&lt;#C:\PS #&gt;⁠⁠⁠ $thing[&quot;FirstName&quot;]
Joel

&lt;#C:\PS #&gt;⁠⁠⁠ $thing.FirstName
Joel

&lt;#C:\PS #&gt;⁠⁠⁠ ⁠⁠$thing.FirstName = &quot;Katrina&quot;

&lt;#C:\PS #&gt;⁠⁠⁠ $thing.GetFullName.Invoke()
Bennett, Katrina
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Ok, yeah, I came up with my own example, and &#8230; I guess this deserves it&#8217;s own blog post, but &#8230; it does work, mostly. It needs some help for Get-Member and maybe a format file though.</p>
<div class="posh code posh" style="font-family:monospace;">
<span style="color: #0066cc; font-style: italic;">Add-<span style="font-style: normal;">Type</span></span> <span style="color: #000066;">-ReferencedAssemblies</span> System.<span style="color: #003366;">Core</span>, Microsoft.<span style="color: #003366;">CSharp</span> @<span style="color: #009900;">&quot;<br />
namespace Expando {<br />
&nbsp; &nbsp; using System;<br />
&nbsp; &nbsp; using System.Dynamic;<br />
&nbsp; &nbsp; using System.Management.Automation;<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; [Cmdlet(&quot;</span>Get<span style="color: #009900;">&quot;, &quot;</span>Expando<span style="color: #009900;">&quot;)]<br />
&nbsp; &nbsp; public class Test : Cmdlet {</p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; public static dynamic GetThing() { <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dynamic expando = new ExpandoObject();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Adding New Members<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // properties, methods (and events?) can be added to instances of the ExpandoObject class.<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; expando.FirstName = &quot;</span>Joel<span style="color: #009900;">&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; expando.LastName = &quot;</span>Bennett<span style="color: #009900;">&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; expando.GetFullName = (Func&lt;String&gt;)(() =&gt; { <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return String.Format(&quot;</span><span style="color: #333;">&#123;</span><span style="color: #cc66cc;">0</span><span style="color: #333;">&#125;</span>, <span style="color: #333;">&#123;</span><span style="color: #cc66cc;">1</span><span style="color: #333;">&#125;</span><span style="color: #009900;">&quot;, &nbsp;expando.LastName, expando.FirstName); <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; });</p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return expando;<br />
&nbsp; &nbsp; &nbsp; &nbsp; }</p>
<p>&nbsp; &nbsp; &nbsp; &nbsp; protected override void ProcessRecord() {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; WriteObject( GetThing() );<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; }<br />
}<br />
&quot;</span>@</p>
<p>
<span style="color: #660033; font-weight: bold;">$thing</span> <span style="color: #66cc66;">=</span> <span style="color: #003366; font-weight: bold;"><span style="color: #333;">&#91;</span>Expando.<span style="color: #003366;">Test</span><span style="color: #333;">&#93;</span></span>::<span style="color: #003366;">GetThing</span><span style="color: #333;">&#40;</span><span style="color: #333;">&#41;</span> </p>
<p><span style="color: #666666; font-style: italic;"># Thinks that $thing is a KeyValuePair&lt;String,Object&gt;</span><br />
<span style="color: #660033; font-weight: bold;">$thing</span> <span style="color: #66cc66;">|</span> <span style="color: #0066cc; font-style: italic;">Get-<span style="font-style: normal;">Member</span></span></p>
<p><span style="color: #666666; font-style: italic;"># Shows that $thing is really an ExpandoObject:</span><br />
<span style="color: #0066cc; font-style: italic;">Get-<span style="font-style: normal;">Member</span></span> <span style="color: #000066;">-InputObject</span> <span style="color: #660033; font-weight: bold;">$thing</span> &nbsp;<br />
&nbsp;</div>
<p>But even though it&#8217;s an ExpandoObject, you can&#8217;t figure out what properties are on it without looking at the key/value stuff. Once you know, you can access them, although the methods need .Invoke()ing:</p>
<div class="posh code posh" style="font-family:monospace;">
<span style="color: #666666; font-style: italic;">&lt;#C:\PS #&gt;</span>⁠⁠⁠ <span style="color: #660033; font-weight: bold;">$thing</span><span style="color: #333;">&#91;</span><span style="color: #009900;">&quot;FirstName&quot;</span><span style="color: #333;">&#93;</span><br />
Joel</p>
<p><span style="color: #666666; font-style: italic;">&lt;#C:\PS #&gt;</span>⁠⁠⁠ <span style="color: #660033; font-weight: bold;">$thing</span>.<span style="color: #003366;">FirstName</span><br />
Joel</p>
<p><span style="color: #666666; font-style: italic;">&lt;#C:\PS #&gt;</span>⁠⁠⁠ ⁠⁠<span style="color: #660033; font-weight: bold;">$thing</span>.<span style="color: #003366;">FirstName</span> <span style="color: #66cc66;">=</span> <span style="color: #009900;">&quot;Katrina&quot;</span></p>
<p><span style="color: #666666; font-style: italic;">&lt;#C:\PS #&gt;</span>⁠⁠⁠ <span style="color: #660033; font-weight: bold;">$thing</span>.<span style="color: #003366;">GetFullName</span>.<span style="color: #003366;">Invoke</span><span style="color: #333;">&#40;</span><span style="color: #333;">&#41;</span><br />
Bennett, Katrina<br />
&nbsp;</div>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PowerShell 3 &#8211; Finally on the DLR! by Josh Einstein</title>
		<link>http://joelbennett.net/powershell-3-finally-on-the-dlr/comment-page-1/#comment-216891</link>
		<dc:creator>Josh Einstein</dc:creator>
		<pubDate>Wed, 01 Feb 2012 21:43:56 +0000</pubDate>
		<guid isPermaLink="false">http://huddledmasses.org/?p=1780#comment-216891</guid>
		<description>Sure:

&lt;code lang=&quot;posh&quot;&gt;
Add-Type -TypeDefinition @&quot;
using System;
using System.Collections.Generic;
using System.Dynamic;
public static class DynamicMaker {
    public static dynamic MakeDynamic(string propertyName, object value) {
        IDictionary obj = new ExpandoObject();
        obj[propertyName] = value;
        return obj;
    }
}
&quot;@

$Obj = [DynamicMaker]::MakeDynamic(&quot;Color&quot;, [ConsoleColor]::Blue)

@($Obj) &#124; Format-List
&lt;/code&gt;

I would expect the result to be:


Color: Blue


Instead it is:


Key: Color
Value: Blue


Treating ExpandoObject as a dictionary and not a dynamic object with a single Color property.</description>
		<content:encoded><![CDATA[<p>Sure:</p>
<div class="posh code posh" style="font-family:monospace;">
<span style="color: #0066cc; font-style: italic;">Add-<span style="font-style: normal;">Type</span></span> <span style="color: #000066;">-TypeDefinition</span> @<span style="color: #009900;">&quot;<br />
using System;<br />
using System.Collections.Generic;<br />
using System.Dynamic;<br />
public static class DynamicMaker {<br />
&nbsp; &nbsp; public static dynamic MakeDynamic(string propertyName, object value) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; IDictionary obj = new ExpandoObject();<br />
&nbsp; &nbsp; &nbsp; &nbsp; obj[propertyName] = value;<br />
&nbsp; &nbsp; &nbsp; &nbsp; return obj;<br />
&nbsp; &nbsp; }<br />
}<br />
&quot;</span>@</p>
<p><span style="color: #660033; font-weight: bold;">$Obj</span> <span style="color: #66cc66;">=</span> <span style="color: #003366; font-weight: bold;"><span style="color: #333;">&#91;</span>DynamicMaker<span style="color: #333;">&#93;</span></span>::<span style="color: #003366;">MakeDynamic</span><span style="color: #333;">&#40;</span><span style="color: #009900;">&quot;Color&quot;</span>, <span style="color: #003366; font-weight: bold;"><span style="color: #333;">&#91;</span>ConsoleColor<span style="color: #333;">&#93;</span></span>::<span style="color: #003366;">Blue</span><span style="color: #333;">&#41;</span></p>
<p>@<span style="color: #333;">&#40;</span><span style="color: #660033; font-weight: bold;">$Obj</span><span style="color: #333;">&#41;</span> <span style="color: #66cc66;">|</span> <span style="color: #0066cc; font-style: italic;">Format-<span style="font-style: normal;">List</span></span><br />
&nbsp;</div>
<p>I would expect the result to be:</p>
<p>Color: Blue</p>
<p>Instead it is:</p>
<p>Key: Color<br />
Value: Blue</p>
<p>Treating ExpandoObject as a dictionary and not a dynamic object with a single Color property.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PowerShell 3 &#8211; Finally on the DLR! by Joel 'Jaykul' Bennett</title>
		<link>http://joelbennett.net/powershell-3-finally-on-the-dlr/comment-page-1/#comment-216890</link>
		<dc:creator>Joel 'Jaykul' Bennett</dc:creator>
		<pubDate>Wed, 01 Feb 2012 21:29:02 +0000</pubDate>
		<guid isPermaLink="false">http://huddledmasses.org/?p=1780#comment-216890</guid>
		<description>Do you have a quick example?</description>
		<content:encoded><![CDATA[<p>Do you have a quick example?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

