<?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! Can I Query CPU Information with WMI and Windows PowerShell?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2009/08/11/hey-scripting-guy-can-i-query-cpu-information-with-wmi-and-windows-powershell.aspx</link><description>Hey, Scripting Guy! I am interested in working with WMI and I would like to query for information from the CPU class. Do you have a script that will show me information about my CPU? I am particularly in need of processor speed and memory because we are</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! Can I Query CPU Information with WMI and Windows PowerShell?</title><link>http://blogs.technet.com/b/heyscriptingguy/archive/2009/08/11/hey-scripting-guy-can-i-query-cpu-information-with-wmi-and-windows-powershell.aspx#3272548</link><pubDate>Wed, 12 Aug 2009 02:28:22 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3272548</guid><dc:creator>peterlf</dc:creator><description>&lt;p&gt;WriteWmiInfo2Host : Cannot convert &amp;quot;System.Object[]&amp;quot; to &amp;quot;System.Management.ManagementObject&amp;quot;.&lt;/p&gt;
&lt;p&gt;At C:\wps\test.ps1:42 char:48&lt;/p&gt;
&lt;p&gt;+ WriteWmiInfo2Host -eventname &amp;quot;Speed&amp;quot; -wmiobject &amp;nbsp;&amp;lt;&amp;lt;&amp;lt;&amp;lt; $wmiInfo -wmiproperties MaxClockSpeed, L2CacheSize, L2CacheSpee&lt;/p&gt;
&lt;p&gt;d, L3CacheSize, L3CacheSpeed -color yellow&lt;/p&gt;
&lt;p&gt;WriteWmiInfo2Host : Cannot convert &amp;quot;System.Object[]&amp;quot; to &amp;quot;System.Management.ManagementObject&amp;quot;.&lt;/p&gt;
&lt;p&gt;At C:\wps\test.ps1:43 char:51&lt;/p&gt;
&lt;p&gt;+ WriteWmiInfo2Host -eventname &amp;quot;strength&amp;quot; -wmiobject &amp;nbsp;&amp;lt;&amp;lt;&amp;lt;&amp;lt; $wmiInfo -wmiproperties NumberOfCores, NumberOfLogicalProces&lt;/p&gt;
&lt;p&gt;sors, Name -color cyan&lt;/p&gt;
&lt;p&gt;WriteWmiInfo2Host : Cannot convert &amp;quot;System.Object[]&amp;quot; to &amp;quot;System.Management.ManagementObject&amp;quot;.&lt;/p&gt;
&lt;p&gt;At C:\wps\test.ps1:44 char:50&lt;/p&gt;
&lt;p&gt;+ WriteWmiInfo2Host -eventName &amp;quot;Agility&amp;quot; -wmiobject &amp;nbsp;&amp;lt;&amp;lt;&amp;lt;&amp;lt; $wmiInfo -wmiProperties addressWidth&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3272548" width="1" height="1"&gt;</description></item></channel></rss>