<?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>Use PowerShell Parameter Attributes to Avoid Errors</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2011/10/11/use-powershell-parameter-attributes-to-avoid-errors.aspx</link><description>Summary: Use Windows PowerShell parameter attributes to avoid input errors in a function.</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Use PowerShell Parameter Attributes to Avoid Errors</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2011/10/11/use-powershell-parameter-attributes-to-avoid-errors.aspx#3458459</link><pubDate>Tue, 11 Oct 2011 13:56:51 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3458459</guid><dc:creator>JV</dc:creator><description>&lt;p&gt;@Klaus&lt;/p&gt;
&lt;p&gt;Start here:&lt;a rel="nofollow" target="_new" href="http://msdn.microsoft.com/en-us/library/ms714432(v=VS.85).aspx"&gt;msdn.microsoft.com/.../ms714432(v=VS.85).aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The SDK has not yet beenupdated for V2 so we also ned to look here:&lt;/p&gt;
&lt;p&gt;help about_functions_advanced_param&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3458459" width="1" height="1"&gt;</description></item><item><title>re: Use PowerShell Parameter Attributes to Avoid Errors</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2011/10/11/use-powershell-parameter-attributes-to-avoid-errors.aspx#3458432</link><pubDate>Tue, 11 Oct 2011 12:12:20 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3458432</guid><dc:creator>Klaus Schulte</dc:creator><description>&lt;p&gt;Hi Ed,&lt;/p&gt;
&lt;p&gt;just one thing to say: Parameter Attributes Rock!&lt;/p&gt;
&lt;p&gt;There is nearly no comparable other scripting (or programming) language offering such an amount of attributes to check the existence and validity or provide defaults and define the position of a parameter!&lt;/p&gt;
&lt;p&gt;I&amp;#39;m still looking for a COMPLETE list of these attribuites and their meaning, but I haven&amp;#39;t found the right location for that by now. Maybe you can help ... ?&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=3458432" width="1" height="1"&gt;</description></item></channel></rss>