<?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>Hey, Scripting Guy! How Can I Use the DataGrid Control in Windows PowerShell?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2010/03/22/hey-scripting-guy-march-22-2010.aspx</link><description>About the author: Ravikanth works at Dell, Inc., as a lead engineer in the Microsoft SharePoint solutions team. He loves automation and is a Windows PowerShell fanatic. He writes regularly on his blog about topics related to Windows PowerShell, SharePoint</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Hey, Scripting Guy! How Can I Use the DataGrid Control in Windows PowerShell?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2010/03/22/hey-scripting-guy-march-22-2010.aspx#3577502</link><pubDate>Fri, 07 Jun 2013 19:13:38 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3577502</guid><dc:creator>Shane Wright</dc:creator><description>&lt;p&gt;Hi Carlos,&lt;/p&gt;
&lt;p&gt;You can fix this by casting the $procInfo as an array when you run the AddRange function&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;$array.AddRange([array]$procInfo) &lt;/p&gt;
&lt;p&gt;Cheers!&lt;/p&gt;
&lt;p&gt;Shane&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3577502" width="1" height="1"&gt;</description></item><item><title>re: Hey, Scripting Guy! How Can I Use the DataGrid Control in Windows PowerShell?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2010/03/22/hey-scripting-guy-march-22-2010.aspx#3479427</link><pubDate>Tue, 07 Feb 2012 16:21:58 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3479427</guid><dc:creator>Carlos Ramos</dc:creator><description>&lt;p&gt;I try using the same process but for retrieving Processor Information to place on the grid. &amp;nbsp;The $procInfo object works fine if it returns multiple values which seems to convert to of type array. &amp;nbsp;If it returns a single set of value it does not return an array but a single system string. In turn causing the $array.AddRange($procInfo) to fail. have been try to find away around it, but have not been successful.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3479427" width="1" height="1"&gt;</description></item></channel></rss>