<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>ConvertTo-HashTable.ps1 Part 2</title><link>http://blogs.msdn.com/powershell/archive/2008/11/23/convertto-hashtable-ps1-part-2.aspx</link><description>I wrote the previous blog in the middle of watching the video. The VERY next thing he did was to create 2 hashtables so my simple version of ConvertTo-HashTable.ps1 wouldn't work for that case. So I made a more sophisticated version: # ConvertTo-hashTable.ps1</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: ConvertTo-HashTable.ps1 Part 2</title><link>http://blogs.msdn.com/powershell/archive/2008/11/23/convertto-hashtable-ps1-part-2.aspx#9135962</link><pubDate>Mon, 24 Nov 2008 09:07:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9135962</guid><dc:creator>James Manning</dc:creator><description>&lt;p&gt;just imho ones:&lt;/p&gt;
&lt;p&gt;- the initcap on begin/process/end seems weird&lt;/p&gt;
&lt;p&gt;- you can drop the $script var now&lt;/p&gt;
&lt;p&gt;- in process, i'd put @($Value)[$i] into a var to make the rest easier to read&lt;/p&gt;
&lt;p&gt;- since it can be more than one, rename $value to $values&lt;/p&gt;
&lt;p&gt;semi-related, but if you left $value out of the param, would you be able to iterate over $args as the rest of the params without having to @() ? &amp;nbsp;I haven't tried it.&lt;/p&gt;</description></item></channel></rss>