<?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>Text Output Is Not a Contract</title><link>http://blogs.msdn.com/powershell/archive/2008/09/04/text-output-is-not-a-contract.aspx</link><description>In PS V1, this is what you get for GET-COMMAND -SYNTAX PS&amp;gt; Get-Command Get-Process -Syntax Get-Process [[-Name] &amp;lt;String[]&amp;gt;] [-ComputerName &amp;lt;String[]&amp;gt;] [-Module] [-FileVersionInfo] [-Verbose] [-Debug] [-ErrorAction &amp;lt;ActionPreference&amp;gt;]</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Text Output Is Not a Contract</title><link>http://blogs.msdn.com/powershell/archive/2008/09/04/text-output-is-not-a-contract.aspx#8924447</link><pubDate>Thu, 04 Sep 2008 16:59:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8924447</guid><dc:creator>Don Jones</dc:creator><description>&lt;p&gt;Your own scripts shouldn't output text as a contract, either - for many of the same reasons, and because PowerShell (being object-oriented) will do a lot of work with you if you aren't sitting around munging text. See &lt;a rel="nofollow" target="_new" href="http://concentratedtech.com/content/?p=139"&gt;http://concentratedtech.com/content/?p=139&lt;/a&gt; - have your scripts output objects.&lt;/p&gt;</description></item><item><title>re: Text Output Is Not a Contract</title><link>http://blogs.msdn.com/powershell/archive/2008/09/04/text-output-is-not-a-contract.aspx#8931972</link><pubDate>Mon, 08 Sep 2008 06:36:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8931972</guid><dc:creator>karl prosser</dc:creator><description>&lt;p&gt;nice idea, but you are taking objects then returning an array of strings to the pipeline.. sure it looks pretty , but its not useful.. either write-host text, or present useful objects.&lt;/p&gt;</description></item><item><title>re: Text Output Is Not a Contract</title><link>http://blogs.msdn.com/powershell/archive/2008/09/04/text-output-is-not-a-contract.aspx#8945286</link><pubDate>Thu, 11 Sep 2008 22:28:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8945286</guid><dc:creator>Hal Rottenberg</dc:creator><description>&lt;p&gt;I've been using a script which expands this sort of thing out for a long time now. Check out this output:&lt;/p&gt;
&lt;p&gt;&amp;#167; ATLLAPHROTTENBE {~} Get-Parameter Get-Command | ft -autosize&lt;/p&gt;
&lt;p&gt;Name &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Type &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ParameterSet &amp;nbsp;IsMandatory Pipeline&lt;/p&gt;
&lt;p&gt;---- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ---- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ------------ &amp;nbsp;----------- --------&lt;/p&gt;
&lt;p&gt;Verb &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String[] &amp;nbsp; &amp;nbsp; CmdletSet &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; False &amp;nbsp; &amp;nbsp;False&lt;/p&gt;
&lt;p&gt;Noun &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String[] &amp;nbsp; &amp;nbsp; CmdletSet &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; False &amp;nbsp; &amp;nbsp;False&lt;/p&gt;
&lt;p&gt;PSSnapin &amp;nbsp; &amp;nbsp; String[] &amp;nbsp; &amp;nbsp; CmdletSet &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; False &amp;nbsp; &amp;nbsp;False&lt;/p&gt;
&lt;p&gt;TotalCount &amp;nbsp; Int32 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;CmdletSet &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; False &amp;nbsp; &amp;nbsp;False&lt;/p&gt;
&lt;p&gt;Syntax &amp;nbsp; &amp;nbsp; &amp;nbsp; Boolean &amp;nbsp; &amp;nbsp; &amp;nbsp;CmdletSet &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; False &amp;nbsp; &amp;nbsp;False&lt;/p&gt;
&lt;p&gt;ArgumentList Object[] &amp;nbsp; &amp;nbsp; CmdletSet &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; False &amp;nbsp; &amp;nbsp;False&lt;/p&gt;
&lt;p&gt;Name &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; String[] &amp;nbsp; &amp;nbsp; AllCommandSet &amp;nbsp; &amp;nbsp; &amp;nbsp; False &amp;nbsp; &amp;nbsp; True&lt;/p&gt;
&lt;p&gt;CommandType &amp;nbsp;CommandTypes AllCommandSet &amp;nbsp; &amp;nbsp; &amp;nbsp; False &amp;nbsp; &amp;nbsp;False&lt;/p&gt;
&lt;p&gt;TotalCount &amp;nbsp; Int32 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;AllCommandSet &amp;nbsp; &amp;nbsp; &amp;nbsp; False &amp;nbsp; &amp;nbsp;False&lt;/p&gt;
&lt;p&gt;Syntax &amp;nbsp; &amp;nbsp; &amp;nbsp; Boolean &amp;nbsp; &amp;nbsp; &amp;nbsp;AllCommandSet &amp;nbsp; &amp;nbsp; &amp;nbsp; False &amp;nbsp; &amp;nbsp;False&lt;/p&gt;
&lt;p&gt;ArgumentList Object[] &amp;nbsp; &amp;nbsp; AllCommandSet &amp;nbsp; &amp;nbsp; &amp;nbsp; False &amp;nbsp; &amp;nbsp;False&lt;/p&gt;
&lt;p&gt;You can find the latest version of this script on PoshCode: &lt;a rel="nofollow" target="_new" href="http://poshcode.org/?lang=&amp;amp;q=get-parameter"&gt;http://poshcode.org/?lang=&amp;amp;q=get-parameter&lt;/a&gt;&lt;/p&gt;</description></item><item><title>re: Text Output Is Not a Contract</title><link>http://blogs.msdn.com/powershell/archive/2008/09/04/text-output-is-not-a-contract.aspx#8952075</link><pubDate>Mon, 15 Sep 2008 06:21:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8952075</guid><dc:creator>Blair Sutton</dc:creator><description>&lt;p&gt;The problem with Powershell over Perl is bad performance when dealing with 100,000+ objects. Dealing with 100,000+ text lines is a lot faster in Perl/Bash or whatever. So I would have to say Yes you have many improvements to make! (Otherwise very useful for tasks requiring smaller data sets)&lt;/p&gt;
&lt;p&gt;&amp;quot;We reserve the right to radically change our text rendering to improve our customer experience. (God knows we have some improvements to make. :-) )&amp;quot;&lt;/p&gt;</description></item><item><title>re: Text Output Is Not a Contract</title><link>http://blogs.msdn.com/powershell/archive/2008/09/04/text-output-is-not-a-contract.aspx#8952103</link><pubDate>Mon, 15 Sep 2008 07:06:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8952103</guid><dc:creator>PowerShellTeam</dc:creator><description>&lt;p&gt;@Blair.&lt;/p&gt;
&lt;p&gt;We are doing quite a bit of work on perf in V2 particularly for startup times and text parsing. &amp;nbsp;Don't give up on us and try it again when we have V2 out. &amp;nbsp;You'll see some improvements in our CTP3 out later this year.&lt;/p&gt;
&lt;p&gt;jps&lt;/p&gt;
</description></item></channel></rss>