<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.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>Simplify Creating Items with PowerShell Providers</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2011/09/28/simplify-creating-items-with-powershell-providers.aspx</link><description>Summary : Learn how to use the same syntax to create different types of items via Windows PowerShell providers.</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Simplify Creating Items with PowerShell Providers</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2011/09/28/simplify-creating-items-with-powershell-providers.aspx#3458834</link><pubDate>Wed, 12 Oct 2011 14:01:36 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3458834</guid><dc:creator>Mike Hammond</dc:creator><description>&lt;p&gt;So glad to see this post, because it tickles a pet peeve of mine with PowerShell. &amp;nbsp;New-Item takes an ItemType parameter, which identifies what kind of thing you want the provider to create. &amp;nbsp;But it seems like you are at the mercy of the docmentation for that provider to tell you what the list of allowed ItemTypes may be. &amp;nbsp;If that documentation is incomplete or difficult to locate, you&amp;#39;re stuck. &amp;nbsp;Can we hope that there will ever be support for some way to ask a PSProvider to identify what item types it&amp;#39;s designed to create?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3458834" width="1" height="1"&gt;</description></item><item><title>re: Simplify Creating Items with PowerShell Providers</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2011/09/28/simplify-creating-items-with-powershell-providers.aspx#3456122</link><pubDate>Wed, 28 Sep 2011 17:25:13 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3456122</guid><dc:creator>Ed Wilson</dc:creator><description>&lt;p&gt;@Klaus you are right. The PowerShell provider system is really cool, and it does take some getting used to. Keep in mind, that when creating aliases, or variables, we DO have additional cmdlets with parameters that are more customized to the specific provider. For me, because I understand the underlying provider, I enjoy the ability to use the more generic cmdlets. When working with the Registry, I love using the item and itemproperty cmdlets ... but I know some people who find the concepts so foreign, they resort to using .NET framework cmdlets, VBScript type COM objects, or even WMI classes. This is a shame, because in each case the orders of complexity increase. &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3456122" width="1" height="1"&gt;</description></item><item><title>re: Simplify creating items with PowerShell providers</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2011/09/28/simplify-creating-items-with-powershell-providers.aspx#3456018</link><pubDate>Wed, 28 Sep 2011 08:49:14 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3456018</guid><dc:creator>Klaus Schulte</dc:creator><description>&lt;p&gt;Hi Ed,&lt;/p&gt;
&lt;p&gt;the powershell provider system is really a great deal!&lt;/p&gt;
&lt;p&gt;But it is something that is so different from the traditional approaches that use seperate commands to navigate each &amp;quot;subsystem&amp;quot;. It is really hard for somebody like me to deal with these more abstract &amp;quot;items&amp;quot; and to remember if I have to use e.g. the &amp;quot;itemType&amp;quot; parameter which is sometimes required and sometimes not. &lt;/p&gt;
&lt;p&gt;In fact I have to know the underlying provider in order to be able to supply parameters that are meaningful to it. And I sometimes get lost in the world of &amp;quot;Items&amp;quot; and &amp;quot;ItemProperties&amp;quot; ( especially if the provider is the registry) &lt;/p&gt;
&lt;p&gt;I still can live with commands like &amp;quot;set&amp;quot;, &amp;quot;md&amp;quot;, &amp;quot;rd&amp;quot; ...&lt;/p&gt;
&lt;p&gt;So ... it may take some time to get used to the new ( and it is excellent for sure ) provider system ...&lt;/p&gt;
&lt;p&gt;Klaus.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3456018" width="1" height="1"&gt;</description></item></channel></rss>