<?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>How PowerShell Formatting and Outputting REALLY works</title><link>http://blogs.msdn.com/b/powershell/archive/2006/04/30/how-powershell-formatting-and-outputting-really-works.aspx</link><description>&amp;lt;WIZARD WARNING&amp;gt; 
 Dreeschkind posted a question in the Microsoft.Public.Windows.Server.Scripting newsgroup about how PowerShell formatting worked with Select. He saw some behavior that he thought was a bug. Here is what he saw: 
 PoSh C:\&amp;gt;</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: How PowerShell Formatting and Outputting REALLY works</title><link>http://blogs.msdn.com/b/powershell/archive/2006/04/30/how-powershell-formatting-and-outputting-really-works.aspx#10374371</link><pubDate>Tue, 04 Dec 2012 09:02:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10374371</guid><dc:creator>Don Lassini</dc:creator><description>&lt;p&gt;This is simply a marvelous and much needed description. Thank you!&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10374371" width="1" height="1"&gt;</description></item><item><title>re: How PowerShell Formatting and Outputting REALLY works</title><link>http://blogs.msdn.com/b/powershell/archive/2006/04/30/how-powershell-formatting-and-outputting-really-works.aspx#9947995</link><pubDate>Wed, 13 Jan 2010 20:43:16 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9947995</guid><dc:creator>Tibor Soos</dc:creator><description>&lt;p&gt;This post is quite old, but it is useful. It's now PS 2.0, and I do not understand the following behaviour:&lt;/p&gt;
&lt;p&gt;$p = @{e=1;k=2}&lt;/p&gt;
&lt;p&gt;$x = New-Object -Property $p -TypeName psobject&lt;/p&gt;
&lt;p&gt;$x, (Get-Process powershell) | ft&lt;/p&gt;
&lt;p&gt; &amp;nbsp;k &amp;nbsp;e&lt;/p&gt;
&lt;p&gt; &amp;nbsp;- &amp;nbsp;-&lt;/p&gt;
&lt;p&gt; &amp;nbsp;2 &amp;nbsp;1&lt;/p&gt;
&lt;p&gt;(There is no process object displayed.)&lt;/p&gt;
&lt;p&gt;[21] PS C:\&amp;gt; (Get-Process powershell),$x | Format-Table&lt;/p&gt;
&lt;p&gt;Handles &amp;nbsp;NPM(K) &amp;nbsp; &amp;nbsp;PM(K) &amp;nbsp; &amp;nbsp; &amp;nbsp;WS(K) VM(M) &amp;nbsp; CPU(s) &amp;nbsp; &amp;nbsp; Id ProcessName&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; &amp;nbsp; &amp;nbsp;807 &amp;nbsp; &amp;nbsp; &amp;nbsp;23 &amp;nbsp; &amp;nbsp;49452 &amp;nbsp; &amp;nbsp; &amp;nbsp;50408 &amp;nbsp; 570 &amp;nbsp; &amp;nbsp; 4,53 &amp;nbsp; 3412 powershell&lt;/p&gt;
&lt;p&gt;k : 2&lt;/p&gt;
&lt;p&gt;e : 1&lt;/p&gt;
&lt;p&gt;(There are both the process object and the custom object displayed, process is in table format, custom object is in list format.)&lt;/p&gt;
&lt;p&gt;Why?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9947995" width="1" height="1"&gt;</description></item><item><title>@Jason</title><link>http://blogs.msdn.com/b/powershell/archive/2006/04/30/how-powershell-formatting-and-outputting-really-works.aspx#7279665</link><pubDate>Mon, 28 Jan 2008 07:24:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7279665</guid><dc:creator>marco.shaw</dc:creator><description>&lt;p&gt;Either you modify the default .ps1xml files (**not recommended**) or you simply drop your update-formatdata into your profile to run it everytime (notepad $profile).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=7279665" width="1" height="1"&gt;</description></item><item><title>re: How PowerShell Formatting and Outputting REALLY works</title><link>http://blogs.msdn.com/b/powershell/archive/2006/04/30/how-powershell-formatting-and-outputting-really-works.aspx#7212394</link><pubDate>Thu, 24 Jan 2008 00:07:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7212394</guid><dc:creator>Jason</dc:creator><description>&lt;p&gt;This document gives an overview of the schema:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://msdn2.microsoft.com/en-us/library/bb394649.aspx"&gt;http://msdn2.microsoft.com/en-us/library/bb394649.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Now, what do I have to do to make the formatting permanent? &amp;nbsp;If I run Update-FormatData, that only stays in effect while that instance of PowerShell is open.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=7212394" width="1" height="1"&gt;</description></item><item><title>re: How PowerShell Formatting and Outputting REALLY works</title><link>http://blogs.msdn.com/b/powershell/archive/2006/04/30/how-powershell-formatting-and-outputting-really-works.aspx#599348</link><pubDate>Wed, 17 May 2006 01:15:11 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:599348</guid><dc:creator>Phil O'Serf</dc:creator><description>PowerShell defines XML schema and a mechanism (the Update-FormatData cmdlet) where anyone can register views for an object type. &amp;nbsp;&lt;br&gt;&lt;br&gt;Where is the schema defined? I can reverse engineering bits of it from the ps1xml files that ship in RC1 but haven't been able to find anything beyond a few examples of user ps1xml files.&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=599348" width="1" height="1"&gt;</description></item></channel></rss>