<?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>Getting ALL Your Parameters</title><link>http://blogs.msdn.com/powershell/archive/2007/05/31/getting-all-your-parameters.aspx</link><description>When you write a function, you can name a set of parameters and PowerShell will bind command line arguments to them. Any command line argument that is NOT bound do a parameter is available as $args. Let me illustrate: PS&amp;gt;function test ($a) {"Remaing</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title> &amp;raquo; Getting ALL Your Parameters</title><link>http://blogs.msdn.com/powershell/archive/2007/05/31/getting-all-your-parameters.aspx#3011567</link><pubDate>Thu, 31 May 2007 21:47:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3011567</guid><dc:creator> » Getting ALL Your Parameters</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://testsubdomain.netmoviehost.com/getting-all-your-parameters/"&gt;http://testsubdomain.netmoviehost.com/getting-all-your-parameters/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Getting ALL Your Parameters</title><link>http://blogs.msdn.com/powershell/archive/2007/05/31/getting-all-your-parameters.aspx#3070272</link><pubDate>Mon, 04 Jun 2007 03:29:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3070272</guid><dc:creator>tcbwm</dc:creator><description>&lt;p&gt;hi,my offsetinline is -2147483648,why and how to solve it:)&lt;/p&gt;
&lt;p&gt;PS C:\&amp;gt; function test {$myinvocation}&lt;/p&gt;
&lt;p&gt;PS C:\&amp;gt; test -A Value -b Value2 -c Value3 this is a test&lt;/p&gt;
&lt;p&gt;MyCommand &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;: test&lt;/p&gt;
&lt;p&gt;ScriptLineNumber : 1&lt;/p&gt;
&lt;p&gt;OffsetInLine &amp;nbsp; &amp;nbsp; : -2147483648&lt;/p&gt;</description></item></channel></rss>