<?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>Windows PowerShell Blog</title><link>http://blogs.msdn.com/b/powershell/</link><description>Automating the world one-liner at a time...</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>Understanding PowerShell's Type Conversion Magic</title><link>http://blogs.msdn.com/b/powershell/archive/2013/06/11/understanding-powershell-s-type-conversion-magic.aspx</link><pubDate>Tue, 11 Jun 2013 19:38:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10425171</guid><dc:creator>PowerShell Team</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/powershell/rsscomments.aspx?WeblogPostID=10425171</wfw:commentRss><comments>http://blogs.msdn.com/b/powershell/archive/2013/06/11/understanding-powershell-s-type-conversion-magic.aspx#comments</comments><description>&lt;p&gt;Type Conversion in PowerShell is, without question, one of the most useful ingredients in its &amp;quot;Magic Sauce&amp;quot; of administrator effectiveness. When you run a command with a specific parameter type (I.e.: a DateTime or a TimeSpan), things seem to &amp;quot;just work&amp;quot;.&lt;/p&gt;  &lt;p&gt;For example, consider this recent question / info dump on Twitter:&lt;/p&gt;  &lt;blockquote class="twitter-tweet"&gt;   &lt;p&gt;&lt;a href="https://twitter.com/search/%23PowerShell"&gt;#PowerShell&lt;/a&gt; parameters that take a timespan object interpret 10 as 10 ticks, 10:00 as 10 hours, and &amp;quot;10&amp;quot; as 10 days.&lt;/p&gt; — June Blender (@juneb_get_help) &lt;a href="https://twitter.com/juneb_get_help/status/342469852960796672"&gt;June 6, 2013&lt;/a&gt;&lt;/blockquote&gt; &lt;script async src="http://blogs.msdn.com//platform.twitter.com/widgets.js" charset="utf-8"&gt;&lt;/script&gt;  &lt;p&gt; But how?&lt;/p&gt;  &lt;p&gt;Here are the steps that PowerShell takes on your behalf to convert input to a given type - such as TimeSpan. As with many things, there is no magic - just a lot of hard work.&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;&lt;strong&gt;Direct assignment.&lt;/strong&gt; If your input is &lt;a href="http://msdn.microsoft.com/en-us/library/system.type.isassignablefrom.aspx"&gt;directly assignable&lt;/a&gt;, simply cast your input to that type.&lt;/li&gt;    &lt;li&gt;&lt;strong&gt;Language-based conversion.&lt;/strong&gt; These language-based conversions are done when the target type is void, Boolean, String, Array, Hashtable, PSReference (i.e.: [ref]), XmlDocument (i.e.: [xml]). Delegate (to support ScriptBlock to Delegate conversions), and Enum.&lt;/li&gt;    &lt;li&gt;&lt;strong&gt;Parse conversion.&lt;/strong&gt; If the target type defines a Parse() method that takes that input, use that.&lt;/li&gt;    &lt;li&gt;&lt;strong&gt;Static Create conversion.&lt;/strong&gt; If the target type defines a static ::Create() method that takes that input, use that.&lt;/li&gt;    &lt;li&gt;&lt;strong&gt;Constructor conversion.&lt;/strong&gt; If the target type defines a constructor that takes your input, use that.&lt;/li&gt;    &lt;li&gt;&lt;strong&gt;Cast conversion.&lt;/strong&gt; If the target type defines a &lt;a href="http://msdn.microsoft.com/en-us/library/39bb81c3(v=vs.71).aspx"&gt;implicit or explicit cast operator&lt;/a&gt; from the source type, use that. If the source type defines an implicit or explicit cast operator to the target type, use that.&lt;/li&gt;    &lt;li&gt;&lt;strong&gt;IConvertible conversion.&lt;/strong&gt; If the &lt;em&gt;source type&lt;/em&gt; defines an &lt;a href="http://msdn.microsoft.com/en-us/library/system.iconvertible.aspx"&gt;IConvertible&lt;/a&gt; implementation that knows how to convert to the target type, use that.&lt;/li&gt;    &lt;li&gt;&lt;strong&gt;IDictionary conversion.&lt;/strong&gt; If the source type is an IDictionary (i.e.: Hashtable), try to create an instance of the destination type using its default constructor, and then use the names and values in the IDictionary to set properties on the source object.&lt;/li&gt;    &lt;li&gt;&lt;strong&gt;PSObject property conversion.&lt;/strong&gt; If the source type is a PSObject, try to create an instance of the destination type using its default constructor, and then use the property names and values in the PSObject to set properties on the source object. . If a name maps to a method instead of a property, invoke that method with the value as its argument.&lt;/li&gt;    &lt;li&gt;&lt;strong&gt;TypeConverter conversion.&lt;/strong&gt; If there is a registered &lt;a href="http://msdn.microsoft.com/en-us/library/system.componentmodel.typeconverter.aspx"&gt;TypeConverter&lt;/a&gt; or &lt;a href="http://msdn.microsoft.com/en-us/library/windows/desktop/system.management.automation.pstypeconverter(v=vs.85).aspx"&gt;PSTypeConverter&lt;/a&gt; that can handle the conversion, do that. You can register a TypeConverter through a types.ps1xml file (see: $pshome\Types.ps1xml), or through &lt;a href="http://technet.microsoft.com/en-us/library/hh849908.aspx"&gt;Update-TypeData&lt;/a&gt;.&lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;Now, see if you can figure out what these do, and why:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;font size="2" face="Courier New"&gt;[TimeSpan] 10       &lt;br /&gt; [TimeSpan] &amp;quot;10&amp;quot;        &lt;br /&gt; [TimeSpan] &amp;quot;0:10&lt;/font&gt;&amp;quot;      &lt;br /&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;Hope this helps!&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Lee Holmes [MSFT]   &lt;br /&gt;Windows PowerShell Development&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10425171" width="1" height="1"&gt;</description></item><item><title>Microsoft Script Explorer: Next Steps</title><link>http://blogs.msdn.com/b/powershell/archive/2013/04/05/microsoft-script-explorer-next-steps.aspx</link><pubDate>Fri, 05 Apr 2013 19:56:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10409441</guid><dc:creator>PowerShell Team</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/powershell/rsscomments.aspx?WeblogPostID=10409441</wfw:commentRss><comments>http://blogs.msdn.com/b/powershell/archive/2013/04/05/microsoft-script-explorer-next-steps.aspx#comments</comments><description>&lt;p&gt;For those who are familiar with Microsoft Script Explorer for Windows PowerShell, you know that we haven't released additional updates to it since we published the release candidate (RC) in August 2012. Over the past few months, we have been talking with customers and partners and taking a hard look at the adoption rate of the RC in terms of the number of downloads and the feedback we're received to date.&lt;/p&gt;
&lt;p&gt;One of the results of this analysis was that the adoption and usage of the pre-release versions of Script Explorer were not at the level we had hoped. Part of this stems from the fact that customers already have a number of options in the market for discovering and sharing PowerShell scripts, and most appear content to continue using these existing mechanisms. As a result, we've decided not to bring the Script Explorer project to RTM.&lt;/p&gt;
&lt;p&gt;In the meantime, we will start winding down the Script Explorer project. This will be a gradual process to allow time for existing users to move to other tools. We'll start by removing the RC package from the Download Center this week.&lt;/p&gt;
&lt;p&gt;For those who have already downloaded pre-release versions and are actively using Script Explorer in their environments, we will continue to operate the back-end script aggregation service used by Script Explorer for a few more months. We plan to turn off the service on June 14, 2013.&lt;/p&gt;
&lt;p&gt;To help with migrating from Script Explorer to other solutions, we would like to highlight a few of the existing options that you might find useful for discovering and sharing PowerShell scripts:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://technet.microsoft.com/en-us/scriptcenter/"&gt;TechNet Script Center&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://poshcode.org/"&gt;PowerShell Code Repository&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://powershell.com/"&gt;PowerShell.com&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://powershell.org/"&gt;PowerShell.org&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.bing.com/"&gt;Bing&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.idera.com/Free-Tools/PowerShell-Plus/"&gt;PowerShell Plus&lt;/a&gt; and &lt;a href="http://www.idera.com/Free-Tools/PowerShell-scripts/"&gt;PowerShell Scripts&lt;/a&gt; by Idera&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.powergui.org/"&gt;PowerGUI&lt;/a&gt; by Quest&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.sapien.com/software/powershell_studio"&gt;PowerShell Studio&lt;/a&gt;&amp;nbsp;by SAPIEN&lt;/p&gt;
&lt;p&gt;&lt;a href="http://code.msdn.microsoft.com/"&gt;Microsoft Developer Network&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.codeplex.com/"&gt;CodePlex&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;And there are lots of others. Feel free to add your favorites in the comments below.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;The PowerShell Team&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10409441" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/powershell/archive/tags/PowerShell/">PowerShell</category></item><item><title>Windows PowerShell 3.0 SDK Sample Pack</title><link>http://blogs.msdn.com/b/powershell/archive/2013/03/17/windows-powershell-3-0-sample-pack.aspx</link><pubDate>Sun, 17 Mar 2013 22:45:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10403331</guid><dc:creator>PowerShell Team</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/powershell/rsscomments.aspx?WeblogPostID=10403331</wfw:commentRss><comments>http://blogs.msdn.com/b/powershell/archive/2013/03/17/windows-powershell-3-0-sample-pack.aspx#comments</comments><description>&lt;p&gt;We're pleased to announce the availability of the Windows PowerShell 3.0 SDK Sample Pack. For Windows PowerShell 3.0, the SDK samples work a little differently than in previous releases of Windows PowerShell. For Windows PowerShell 2.0, we released a separate standalone SDK to the Download Center at &lt;a href="http://go.microsoft.com/fwlink/?LinkID=180421"&gt;http://go.microsoft.com/fwlink/?LinkID=180421&lt;/a&gt;. This download contained both the reference assemblies and code samples in a single SDK package.&lt;/p&gt;
&lt;p&gt;For Windows PowerShell 3.0, we are more closely following the format used by the Windows SDK. The reference assemblies for Windows PowerShell 3.0 are included in the Windows 8 SDK which is available at &lt;a href="http://msdn.microsoft.com/en-us/windows/hardware/hh852363.aspx"&gt;http://msdn.microsoft.com/en-us/windows/hardware/hh852363.aspx&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Similar to the Windows SDK, the code samples are available from the Dev Center on MSDN at &lt;a href="http://code.msdn.microsoft.com/"&gt;http://code.msdn.microsoft.com/&lt;/a&gt;. You can download individual samples from the Dev Center at &lt;a href="http://code.msdn.microsoft.com/site/search?f%5B0%5D.Type=User&amp;amp;f%5B0%5D.Value=PowerShell%20Team"&gt;http://code.msdn.microsoft.com/site/search?f%5B0%5D.Type=User&amp;amp;f%5B0%5D.Value=PowerShell%20Team&lt;/a&gt;.&lt;br /&gt;Alternatively, you can download the Windows PowerShell 3.0 SDK Sample Pack which includes all the samples at &lt;a href="http://code.msdn.microsoft.com/Windows-PowerShell-30-SDK-9a34641d"&gt;http://code.msdn.microsoft.com/Windows-PowerShell-30-SDK-9a34641d&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Here are the links to the Windows PowerShell 3.0 SDK Sample Pack.&lt;/p&gt;
&lt;p&gt;Windows PowerShell 3.0 Sample Pack: &lt;a href="http://code.msdn.microsoft.com/Windows-PowerShell-30-SDK-9a34641d"&gt;http://code.msdn.microsoft.com/Windows-PowerShell-30-SDK-9a34641d&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Individual Samples&lt;/p&gt;
&lt;p&gt;&lt;a href="http://code.msdn.microsoft.com/AccessDB-Provider-Sample01-b3dbef12"&gt;AccessDB Provider Sample 01&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://code.msdn.microsoft.com/AccessDB-Provider-Sample-02-bbf9e959"&gt;AccessDB Provider Sample 02&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://code.msdn.microsoft.com/AccessDB-Provider-Sample-03-c1ec06ce"&gt;AccessDB Provider Sample 03&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://code.msdn.microsoft.com/AccessDB-Provider-Sample-04-135e4ee6"&gt;AccessDB Provider Sample 04&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://code.msdn.microsoft.com/AccessDB-Provider-Sample-05-a561d1ba"&gt;AccessDB Provider Sample 05&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://code.msdn.microsoft.com/AccessDB-Provider-Sample-06-4e0a6845"&gt;AccessDB Provider Sample 06&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://code.msdn.microsoft.com/Activity-Controller-2dade7c3"&gt;Activity Controller Extensibility Sample&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://code.msdn.microsoft.com/Activity-Generator-Sample-0b299e3e"&gt;Activity Generator Sample&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://code.msdn.microsoft.com/Event-Notification-Sample-b4b7e398"&gt;Event Notification Sample&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://code.msdn.microsoft.com/Event-Registration-Sample-0ce177da"&gt;Event Registration Sample&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://code.msdn.microsoft.com/Get-Process-Sample-01-d51ab104"&gt;Get-Process Sample 01&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://code.msdn.microsoft.com/Get-Process-Sample-02-9aa13d73"&gt;Get-Process Sample 02&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://code.msdn.microsoft.com/Get-Process-Sample-03-8e79bd69"&gt;Get-Process Sample 03&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://code.msdn.microsoft.com/Get-Process-Sample-04-665f5d7d"&gt;Get-Process Sample 04&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://code.msdn.microsoft.com/Get-Process-Sample-05-dcde8b67"&gt;Get-Process Sample 05&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://code.msdn.microsoft.com/Host-Sample-01-473eef39"&gt;Host Sample 01&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://code.msdn.microsoft.com/Host-Sample-02-d8f5bfbb"&gt;Host Sample 02&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://code.msdn.microsoft.com/Host-Sample-03-49331f08"&gt;Host Sample 03&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://code.msdn.microsoft.com/Host-Sample-04-2966b575"&gt;Host Sample 04&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://code.msdn.microsoft.com/Host-Sample-05-7087fb3e"&gt;Host Sample 05&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://code.msdn.microsoft.com/Host-Sample-06-d5347a2a"&gt;Host Sample 06&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://code.msdn.microsoft.com/JobSourceAdapter-Sample-1abf034d"&gt;Job Source Adapter Sample&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://code.msdn.microsoft.com/PowerShell-Sample-01-ec9c1334"&gt;PowerShell Sample 01&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://code.msdn.microsoft.com/PowerShell-Sample-02-affe8453"&gt;PowerShell Sample 02&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://code.msdn.microsoft.com/Remote-Runspace-Pool-81152ea0"&gt;Remote Runspace Pool Sample 01&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://code.msdn.microsoft.com/Remote-Runspace-Sample-01-4d1c2242"&gt;Remote Runspace Sample 01&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://code.msdn.microsoft.com/Remoting-Disconnect-ddbf0791"&gt;Remoting Disconnect Reconnect Sample 01&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://code.msdn.microsoft.com/Runspace-Sample-01-a6507b18"&gt;Runspace Sample 01&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://code.msdn.microsoft.com/Runspace-Sample-02-a51e8c19"&gt;Runspace Sample 02&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://code.msdn.microsoft.com/Runspace-Sample-03-fe656d84"&gt;Runspace Sample 03&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://code.msdn.microsoft.com/Runspace-Sample-04-dc70ac78"&gt;Runspace Sample 04&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://code.msdn.microsoft.com/Runspace-Sample-05-479312e5"&gt;Runspace Sample 05&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://code.msdn.microsoft.com/Runspace-Sample-06-54a04348"&gt;Runspace Sample 06&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://code.msdn.microsoft.com/Runspace-Sample-07-337e86a5"&gt;Runspace Sample 07&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://code.msdn.microsoft.com/Runspace-Sample-08-03e73ed3"&gt;Runspace Sample 08&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://code.msdn.microsoft.com/Runspace-Sample-09-15ca3c68"&gt;Runspace Sample 09&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://code.msdn.microsoft.com/Runspace-Sample-10-721f9f79"&gt;Runspace Sample 10&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://code.msdn.microsoft.com/Runspace-Sample-11-e259ac3b"&gt;Runspace Sample 11&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://code.msdn.microsoft.com/Script-Line-Profiler-Sample-80380291"&gt;Script Line Profiler Sample&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://code.msdn.microsoft.com/Select-Object-Sample-01-eb0e7285"&gt;Select-Object Sample 01&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://code.msdn.microsoft.com/Select-String-Sample-1ea0016a"&gt;Select-String Sample&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://code.msdn.microsoft.com/Serialization-Sample-01-117319b4"&gt;Serialization Sample 01&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://code.msdn.microsoft.com/Serialization-Sample-02-ec34d1f0"&gt;Serialization Sample 02&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://code.msdn.microsoft.com/Serialization-Sample-03-6576c928"&gt;Serialization Sample 03&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://code.msdn.microsoft.com/Simple-Workflow-Extensibili-8e50d01d"&gt;Simple Workflow Extensibility Sample&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://code.msdn.microsoft.com/SQL-Store-Extensibility-e70c55e8"&gt;SQL Store Extensibility Sample&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://code.msdn.microsoft.com/Stop-Process-Sample-01-21ab7c8f"&gt;Stop-Process Sample 01&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://code.msdn.microsoft.com/Stop-Process-Sample-02-d873577e"&gt;Stop-Process Sample 02&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://code.msdn.microsoft.com/Stop-Process-Sample-03-b7ebb5c7"&gt;Stop-Process Sample 03&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://code.msdn.microsoft.com/Stop-Process-Sample-04-d077f542"&gt;Stop-Process Sample 04&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://code.msdn.microsoft.com/Supports-Paging-01-Sample-d68a7181"&gt;Supports Paging 01 Sample&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://code.msdn.microsoft.com/Template-Provider-Sample-01-8d5b0cc0"&gt;Template Provider Sample 01&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://code.msdn.microsoft.com/Transacted-Comment-Sample-47e3843f"&gt;Transacted Comment Sample&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Enjoy!&lt;/p&gt;
&lt;p&gt;Dan Harman&lt;/p&gt;
&lt;p&gt;Senior Program Manager&lt;/p&gt;
&lt;p&gt;Windows PowerShell&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10403331" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/powershell/archive/tags/SDK/">SDK</category><category domain="http://blogs.msdn.com/b/powershell/archive/tags/Release_2F00_Download/">Release/Download</category><category domain="http://blogs.msdn.com/b/powershell/archive/tags/PowerShell/">PowerShell</category><category domain="http://blogs.msdn.com/b/powershell/archive/tags/PowerShell+Release/">PowerShell Release</category></item><item><title>First German PowerShell Community Conference </title><link>http://blogs.msdn.com/b/powershell/archive/2013/01/25/first-german-powershell-community-conference.aspx</link><pubDate>Fri, 25 Jan 2013 23:22:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10388460</guid><dc:creator>PowerShell Team</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/powershell/rsscomments.aspx?WeblogPostID=10388460</wfw:commentRss><comments>http://blogs.msdn.com/b/powershell/archive/2013/01/25/first-german-powershell-community-conference.aspx#comments</comments><description>&lt;p&gt;We are delighted to broadcast that the community will hold the first German PowerShell Community Conference on April 10 and 11, 2013 in Oberhausen, Germany.&amp;nbsp; As shown by the &amp;ldquo;sold out&amp;rdquo; PowerShell Summit for North America, there is a real need for PowerShell focused conferences that offer the attendees the opportunity to dig deep into PowerShell internals and experiences.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Agenda:&lt;/strong&gt; &lt;br /&gt; &lt;a href="http://www.powershell.de/powershell/konferenz/Zeitplan.aspx"&gt;http://www.powershell.de/powershell/konferenz/Zeitplan.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Press release&lt;/strong&gt;:&lt;br /&gt; &amp;ldquo;In the setting of the Museum for Industrial and Social History in Oberhausen, Germany, the first German PowerShell Community Conference will take place April 10 and 11, 2013. &amp;lsquo;PowerShell quickly becomes a core competence for IT people in administration and development&amp;rsquo;, Conference Co-Initiator Dr. Tobias Weltner said. &amp;lsquo;In a fantastic atmosphere, you get quality information and a chance to network&amp;rsquo;. Leading experts like Dr. Holger Schwichtenberg (MVP .NET Framework), Peter Monadjemi and Dr. Tobias Weltner (MVP PowerShell) present topics from the field and development and are available for questions and discussions. A separate pre-conference prep course is available for those who did not yet have the time to dive into PowerShell that much. Information and booking is available at &lt;a href="http://www.powershell.de/konferenz"&gt;www.powershell.de/konferenz&lt;/a&gt;. Please note that this is a German-speaking event.&amp;rdquo;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #000000; font-family: 'Segoe UI','sans-serif'; font-size: 9.5pt; mso-ansi-language: EN;" lang="EN"&gt;The Windows PowerShell Team&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10388460" width="1" height="1"&gt;</description></item><item><title>Updatable Help speaks only English!  What’s up with that?</title><link>http://blogs.msdn.com/b/powershell/archive/2013/01/17/updatable-help-speaks-only-english-whats-up-with-that.aspx</link><pubDate>Thu, 17 Jan 2013 19:20:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10386102</guid><dc:creator>PowerShell Team</dc:creator><slash:comments>4</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/powershell/rsscomments.aspx?WeblogPostID=10386102</wfw:commentRss><comments>http://blogs.msdn.com/b/powershell/archive/2013/01/17/updatable-help-speaks-only-english-whats-up-with-that.aspx#comments</comments><description>&lt;p&gt;Our customers have certainly not been shy about their interest in multiple languages of Windows PowerShell Updatable Help, and we're grateful to hear how much they would value localized Help. Our challenge is this: Updatable Help is a new feature for this release of Windows PowerShell, and we have so very many new cmdlets and modules for Windows PowerShell 3.0 (over 2,300 new cmdlets in 95 modules). It takes time to translate the content once it's available in English, and we can't translate all of it. There's just too much new content. One of the Windows PowerShell Core modules just by itself contains over 87,000 words, meaning it's roughly the same size as Jane Austen's &lt;em&gt;Persuasion&lt;/em&gt;, or J.K. Rowling's &lt;em&gt;Harry Potter and the Chamber of Secrets&lt;/em&gt;. That's one module. We must make judicious choices about which modules get localized, and which are the most sought-after languages.&lt;/p&gt;
&lt;p&gt;To determine which modules most urgently require translated Help, we're looking primarily at the number of page views of the &lt;a href="http://technet.microsoft.com/library/hh801904.aspx"&gt;cmdlet Help topics in the TechNet Library&lt;/a&gt;. Although we don't yet have the full picture at just five months after General Availability, this is giving us a good idea of which of the new modules are most read by our customers. Here's a look at the current page view count for the top three non-Core modules, for example:&lt;/p&gt;
&lt;table style="border: 1px solid currentColor;" border="0" rules="all"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td width="180"&gt;Module Name&lt;/td&gt;
&lt;td align="right" width="138"&gt;Page View Count&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="180"&gt;Hyper-V&lt;/td&gt;
&lt;td align="right" width="138"&gt;114701&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="180"&gt;Storage&lt;/td&gt;
&lt;td align="right" width="138"&gt;48653&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="180"&gt;PrintManagement&lt;/td&gt;
&lt;td align="right" width="138"&gt;23915&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;We're also viewing suggestions filed on the &lt;a href="http://connect.microsoft.com/PowerShell"&gt;Microsoft Connect feedback website&lt;/a&gt; for Windows PowerShell. Some of our customers are filing suggestion bugs for getting the Updatable Help translated into languages that they'd like. We welcome and are reviewing these suggestions, too; but again, we will not be able to localize all modules of Updatable Help at this time. Additionally, it's unlikely that there will be support for languages beyond those in which Windows Server 2012 was shipped. The languages in which the first-localized modules would most likely be available, within three to six months from now, are the following four:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Chinese (Traditional)&lt;/li&gt;
&lt;li&gt;French&lt;/li&gt;
&lt;li&gt;German&lt;/li&gt;
&lt;li&gt;Japanese&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;While other languages might be supported, these are the most likely languages, based on known consumption of Windows Server (and other server and management software from Microsoft, such as the System Center suite, or SQL Server) in non-English languages. We are still open to considering additional language support for Windows PowerShell. Furthermore, we continuously update the localized content, potentially adding new languages, and new topics in previously-available languages.&lt;/p&gt;
&lt;p&gt;Please do continue to give us your feedback about languages that you'd like to see, and the updatable Help that's most valuable to you. And vote with your browsing, by viewing the &lt;a href="http://technet.microsoft.com/library/hh801904.aspx"&gt;cmdlet reference topics&lt;/a&gt; in your preferred language.&lt;/p&gt;
&lt;p&gt;Thanks for your patience, while we work to get our international customers the module Help that they need the most.&lt;/p&gt;
&lt;p&gt;The Windows PowerShell Team&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10386102" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/powershell/archive/tags/DOCUMENTATION/">DOCUMENTATION</category><category domain="http://blogs.msdn.com/b/powershell/archive/tags/Get_2D00_Help/">Get-Help</category><category domain="http://blogs.msdn.com/b/powershell/archive/tags/PowerShell/">PowerShell</category><category domain="http://blogs.msdn.com/b/powershell/archive/tags/Help/">Help</category><category domain="http://blogs.msdn.com/b/powershell/archive/tags/Updatable+Help/">Updatable Help</category></item><item><title>Windows Management Framework 3.0 Compatibility Update</title><link>http://blogs.msdn.com/b/powershell/archive/2012/12/20/windows-management-framework-3-0-compatibility-update.aspx</link><pubDate>Thu, 20 Dec 2012 02:11:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10379627</guid><dc:creator>PowerShell Team</dc:creator><slash:comments>5</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/powershell/rsscomments.aspx?WeblogPostID=10379627</wfw:commentRss><comments>http://blogs.msdn.com/b/powershell/archive/2012/12/20/windows-management-framework-3-0-compatibility-update.aspx#comments</comments><description>&lt;p&gt;Windows Management Framework (WMF) 3.0, (currently distributed as &lt;a href="http://support.microsoft.com/kb/2506146"&gt;&lt;strong&gt;KB2506146&lt;/strong&gt;&lt;/a&gt; for Windows Server 2008 SP2 and &lt;a href="http://support.microsoft.com/kb/2506143"&gt;&lt;strong&gt;KB2506143&lt;/strong&gt;&lt;/a&gt;&lt;strong&gt;,&lt;/strong&gt; for Windows 7 SP1 and Windows Server 2008 R2 SP1) has been temporarily removed from Windows Update to protect from accidental installations on unsupported systems. Those who want to install WMF 3.0 to take advantage of all the great features this update provides can do so by installing the update from the &lt;a href="http://www.microsoft.com/en-us/download/details.aspx?id=34595"&gt;Microsoft Download Center&lt;/a&gt;, after reading the known compatibility issues detailed below.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Background:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Windows Management Framework (WMF 3.0) was released to the Download Center on September 17, 2012. On December 11, 2012,this package was released through Windows Update. Although it was released as an optional update, many customers chose to deploy the package automatically.&amp;nbsp; Because there are compatibility issues between some released server applications and WMF 3.0, we have temporarily removed WMF 3.0 from Windows Update. This should prevent customers from inadvertently installing the package on unsupported systems.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Known Compatibility Issues:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Windows Management Framework 3.0 (WMF 3.0) is not currently compatible with the following applications.&lt;/p&gt;
&lt;p&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;System Center 2012 Configuration Manager&lt;/p&gt;
&lt;p style="padding-left: 60px;"&gt;&lt;a href="http://support.microsoft.com/kb/2796086"&gt;http://support.microsoft.com/kb/2796086&lt;/a&gt;&amp;nbsp; (Configuration Manager Management Points collocated with clients fail after installing Windows Management Framework 3.0 and running Client Health Evaluation)&lt;/p&gt;
&lt;p&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;System Center Virtual Machine Manager&lt;/p&gt;
&lt;p style="padding-left: 60px;"&gt;&lt;a href="http://support.microsoft.com/kb/2795043"&gt;http://support.microsoft.com/kb/2795043&lt;/a&gt; (Managing Hyper-V hosts using Virtual Machine Manager fails with Error: 0x8033803b after installing WMF 3.0)&lt;/p&gt;
&lt;p&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Microsoft Exchange Server 2007 and Microsoft Exchange Server 2010&lt;/p&gt;
&lt;p style="padding-left: 60px;"&gt;&lt;a href="http://blogs.technet.com/b/exchange/archive/2012/12/14/windows-management-framework-3-0-on-exchange-2007-and-exchange-2010.aspx"&gt;http://blogs.technet.com/b/exchange/archive/2012/12/14/windows-management-framework-3-0-on-exchange-2007-and-exchange-2010.aspx&lt;/a&gt; (Windows Management Framework 3.0 on Exchange 2007 and Exchange 2010)&lt;/p&gt;
&lt;p&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Microsoft SharePoint 2010&lt;/p&gt;
&lt;p style="padding-left: 60px;"&gt;&lt;a href="http://connect.microsoft.com/PowerShell/feedback/details/746908/powershell-3-0-and-sharepoint-2010"&gt;http://connect.microsoft.com/PowerShell/feedback/details/746908/powershell-3-0-and-sharepoint-2010&lt;/a&gt;&amp;nbsp; (Windows PowerShell 3.0 and SharePoint 2010)&lt;/p&gt;
&lt;p&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Windows Small Business Server 2008 and Windows Small Business Server 2011&lt;/p&gt;
&lt;p style="padding-left: 60px;"&gt;&lt;a href="http://blogs.technet.com/b/sbs/archive/2012/12/15/windows-management-framework-3-0-applicability-on-windows-small-business-server-2008-2011-standard.aspx"&gt;http://blogs.technet.com/b/sbs/archive/2012/12/15/windows-management-framework-3-0-applicability-on-windows-small-business-server-2008-2011-standard.aspx&lt;/a&gt;&amp;nbsp; (Windows Management Framework 3.0 applicability on Windows Small Business Server 2008/2011 Standard)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Systems that are running the above server applications should not run Windows Management Framework 3.0 at this time. WMF 3.0 is otherwise supported on Windows 7 SP1, Windows Server 2008 R2 SP1, and Windows Server 2008 SP2.&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10379627" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/powershell/archive/tags/WMF+_2600_quot_3B00_Windows+Management+Framework+3-0_2600_quot_3B00_+PowerShell+WMI/">WMF &amp;quot;Windows Management Framework 3.0&amp;quot; PowerShell WMI</category></item><item><title>WMI cheat sheet for PS users</title><link>http://blogs.msdn.com/b/powershell/archive/2012/10/28/wmi-cheat-sheet-for-ps-users.aspx</link><pubDate>Sun, 28 Oct 2012 21:10:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10363470</guid><dc:creator>PowerShell Team</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/powershell/rsscomments.aspx?WeblogPostID=10363470</wfw:commentRss><comments>http://blogs.msdn.com/b/powershell/archive/2012/10/28/wmi-cheat-sheet-for-ps-users.aspx#comments</comments><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;We got multiple requests to publish the cheat sheet for CIM Cmdlets that was distributed in Tech Ed NA&amp;nbsp;this year. Responding to popular demand, this document is attached as PDF . This is a great resource put together by WMI team for people who want to get started with CIM cmdlets.&lt;/p&gt;
&lt;p&gt;Standard disclaimer :-). Cheat sheet is just for a quick start to get people started&amp;nbsp;- real documentation is here &lt;a href="http://technet.microsoft.com/en-us/library/jj553783.aspx"&gt;http://technet.microsoft.com/en-us/library/jj553783.aspx&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Osama Sajid&lt;/p&gt;
&lt;p&gt;Program Manager&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10363470" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-10-36-34-70/WMI-CheatSheet-for-PS.pdf" length="289863" type="application/pdf" /><category domain="http://blogs.msdn.com/b/powershell/archive/tags/WMI/">WMI</category><category domain="http://blogs.msdn.com/b/powershell/archive/tags/CIM/">CIM</category><category domain="http://blogs.msdn.com/b/powershell/archive/tags/CimCmdlets/">CimCmdlets</category></item><item><title>Joining Multiple Tables, Grouping and Evaluating Totals</title><link>http://blogs.msdn.com/b/powershell/archive/2012/10/04/joining-multiple-tables-grouping-and-evaluating-totals.aspx</link><pubDate>Thu, 04 Oct 2012 00:12:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10355722</guid><dc:creator>PowerShell Team</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/powershell/rsscomments.aspx?WeblogPostID=10355722</wfw:commentRss><comments>http://blogs.msdn.com/b/powershell/archive/2012/10/04/joining-multiple-tables-grouping-and-evaluating-totals.aspx#comments</comments><description>&lt;div class="WordSection1"&gt;
&lt;p class="MsoNormal"&gt;&lt;b&gt;Joining Multiple Tables, Grouping And Evaluating Totals&lt;/b&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;This is a continuation to the &lt;a href="http://blogs.msdn.com/b/powershell/archive/2012/07/13/join-object.aspx"&gt;Join-Object&lt;/a&gt; blog post considering multiple joins and SQL style grouping and total evaluation.&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;b&gt;Problem:&lt;/b&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;In the &lt;a href="http://blogs.msdn.com/b/powershell/archive/2012/07/13/join-object.aspx"&gt;Join-Object&lt;/a&gt; blog we&amp;rsquo;ve seen that relational data naturally organizes in multiple tables.&amp;nbsp;Once we have those tables, we frequently want to see&amp;nbsp;the information back together, so we need something like &lt;a href="http://blogs.msdn.com/b/powershell/archive/2012/07/13/join-object.aspx"&gt;Join-Object&lt;/a&gt;. Sometimes we also need to group the information and evaluate totals inside the groups. For instance, what are the total sales for each customer?&lt;/p&gt;
&lt;p class="MsoNormal"&gt;How can we use &lt;a href="http://blogs.msdn.com/b/powershell/archive/2012/07/13/join-object.aspx"&gt;Join-Object&lt;/a&gt;&lt;span class="MsoHyperlink"&gt; &lt;/span&gt;in multiple tables and group information from the tables to report totals?&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;b&gt;Joining multiple tables:&lt;/b&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;Consider the following tables describing sales at a fruit stand:&lt;/p&gt;
&lt;div align="center"&gt;
&lt;table class="MsoTableGrid" style="border: currentColor; border-collapse: collapse;" border="0" cellspacing="0" cellpadding="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td width="271" valign="top" style="padding: 0in 5.4pt; width: 203.4pt;" colspan="3"&gt;
&lt;p align="center" class="MsoNormal" style="margin: 0pt; padding: 0pt; text-align: center; line-height: normal;"&gt;&lt;b&gt;Customers&lt;/b&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="43" valign="top" style="padding: 0in 5.4pt; width: 0.45in;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;Id&lt;/p&gt;
&lt;/td&gt;
&lt;td width="114" valign="top" style="padding: 0in 5.4pt; width: 85.5pt;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;Name&lt;/p&gt;
&lt;/td&gt;
&lt;td width="114" valign="top" style="padding: 0in 5.4pt; width: 85.5pt;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;Phone&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="43" valign="top" style="padding: 0in 5.4pt; width: 0.45in;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;1&lt;/p&gt;
&lt;/td&gt;
&lt;td width="114" valign="top" style="padding: 0in 5.4pt; width: 85.5pt;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;John Smith&lt;/p&gt;
&lt;/td&gt;
&lt;td width="114" valign="top" style="padding: 0in 5.4pt; width: 85.5pt;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;(206)555-8899&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="43" valign="top" style="padding: 0in 5.4pt; width: 0.45in;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;2&lt;/p&gt;
&lt;/td&gt;
&lt;td width="114" valign="top" style="padding: 0in 5.4pt; width: 85.5pt;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;Mark Stone&lt;/p&gt;
&lt;/td&gt;
&lt;td width="114" valign="top" style="padding: 0in 5.4pt; width: 85.5pt;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;(425)999-8811&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="43" valign="top" style="padding: 0in 5.4pt; width: 0.45in;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;3&lt;/p&gt;
&lt;/td&gt;
&lt;td width="114" valign="top" style="padding: 0in 5.4pt; width: 85.5pt;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;Ruth Moore&lt;/p&gt;
&lt;/td&gt;
&lt;td width="114" valign="top" style="padding: 0in 5.4pt; width: 85.5pt;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;(425)888-3355&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p class="MsoNormal"&gt;&amp;nbsp;&lt;/p&gt;
&lt;div align="center"&gt;
&lt;table class="MsoTableGrid" style="border: currentColor; border-collapse: collapse;" border="0" cellspacing="0" cellpadding="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td width="271" valign="top" style="padding: 0in 5.4pt; width: 203.4pt;" colspan="3"&gt;
&lt;p align="center" class="MsoNormal" style="margin: 0pt; padding: 0pt; text-align: center; line-height: 115%;"&gt;&lt;b&gt;Products&lt;/b&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="43" valign="top" style="padding: 0in 5.4pt; width: 0.45in;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;Id&lt;/p&gt;
&lt;/td&gt;
&lt;td width="114" valign="top" style="padding: 0in 5.4pt; width: 85.5pt;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;Name&lt;/p&gt;
&lt;/td&gt;
&lt;td width="114" valign="top" style="padding: 0in 5.4pt; width: 85.5pt;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;Price&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="43" valign="top" style="padding: 0in 5.4pt; width: 0.45in;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;1&lt;/p&gt;
&lt;/td&gt;
&lt;td width="114" valign="top" style="padding: 0in 5.4pt; width: 85.5pt;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;Apple&lt;/p&gt;
&lt;/td&gt;
&lt;td width="114" valign="top" style="padding: 0in 5.4pt; width: 85.5pt;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;10&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="43" valign="top" style="padding: 0in 5.4pt; width: 0.45in;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;2&lt;/p&gt;
&lt;/td&gt;
&lt;td width="114" valign="top" style="padding: 0in 5.4pt; width: 85.5pt;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;Orange&lt;/p&gt;
&lt;/td&gt;
&lt;td width="114" valign="top" style="padding: 0in 5.4pt; width: 85.5pt;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;12&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="43" valign="top" style="padding: 0in 5.4pt; width: 0.45in;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;3&lt;/p&gt;
&lt;/td&gt;
&lt;td width="114" valign="top" style="padding: 0in 5.4pt; width: 85.5pt;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;Kiwi&lt;/p&gt;
&lt;/td&gt;
&lt;td width="114" valign="top" style="padding: 0in 5.4pt; width: 85.5pt;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;15&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="line-height: 115%; font-size: 7pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;table align="center" class="MsoTableGrid" style="border: currentColor; margin-right: 6.75pt; margin-left: 6.75pt; border-collapse: collapse;" border="0" cellspacing="0" cellpadding="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td width="319" valign="top" style="padding: 0in 5.4pt; width: 239.4pt;" colspan="3"&gt;
&lt;p align="center" class="MsoNormal" style="margin: 0pt; padding: 0pt; text-align: center; line-height: 115%;"&gt;&lt;b&gt;Orders&lt;/b&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="43" valign="top" style="padding: 0in 5.4pt; width: 0.45in; text-align: center;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;Id&lt;/p&gt;
&lt;/td&gt;
&lt;td width="174" valign="top" style="padding: 0in 5.4pt; width: 130.5pt; text-align: center;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;Date&lt;/p&gt;
&lt;/td&gt;
&lt;td width="102" valign="top" style="padding: 0in 5.4pt; width: 76.5pt; text-align: center;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;CustomerId&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="43" valign="top" style="padding: 0in 5.4pt; width: 0.45in; text-align: center;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;1&lt;/p&gt;
&lt;/td&gt;
&lt;td width="174" valign="top" style="padding: 0in 5.4pt; width: 130.5pt; text-align: center;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;6/6/2012 9:12:44 AM&lt;/p&gt;
&lt;/td&gt;
&lt;td width="102" valign="top" style="padding: 0in 5.4pt; width: 76.5pt; text-align: center;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;1&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="43" valign="top" style="padding: 0in 5.4pt; width: 0.45in; text-align: center;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;2&lt;/p&gt;
&lt;/td&gt;
&lt;td width="174" valign="top" style="padding: 0in 5.4pt; width: 130.5pt; text-align: center;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;6/7/2012 6:12:10 PM&lt;/p&gt;
&lt;/td&gt;
&lt;td width="102" valign="top" style="padding: 0in 5.4pt; width: 76.5pt; text-align: center;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;1&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="43" valign="top" style="padding: 0in 5.4pt; width: 0.45in; text-align: center;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;3&lt;/p&gt;
&lt;/td&gt;
&lt;td width="174" valign="top" style="padding: 0in 5.4pt; width: 130.5pt; text-align: center;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;6/5/2012 12:05:03 PM&lt;/p&gt;
&lt;/td&gt;
&lt;td width="102" valign="top" style="padding: 0in 5.4pt; width: 76.5pt; text-align: center;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;2&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p class="MsoNormal"&gt;&amp;nbsp;&lt;/p&gt;
&lt;table align="center" class="MsoTableGrid" style="border: currentColor; margin-right: 6.75pt; margin-left: 6.75pt; border-collapse: collapse;" border="0" cellspacing="0" cellpadding="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td width="259" valign="top" style="padding: 0in 5.4pt; width: 2.7in;" colspan="4"&gt;
&lt;p align="center" class="MsoNormal" style="margin: 0pt; padding: 0pt; text-align: center; line-height: 115%;"&gt;&lt;b&gt;OrderItems&lt;/b&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="43" valign="top" style="padding: 0in 5.4pt; width: 0.45in;"&gt;
&lt;p align="center" class="MsoNormal" style="text-align: center; line-height: 115%; margin-bottom: 10pt;"&gt;Id&lt;/p&gt;
&lt;/td&gt;
&lt;td width="72" valign="top" style="padding: 0in 5.4pt; width: 0.75in;"&gt;
&lt;p align="center" class="MsoNormal" style="text-align: center; line-height: 115%; margin-bottom: 10pt;"&gt;Quantity&lt;/p&gt;
&lt;/td&gt;
&lt;td width="78" valign="top" style="padding: 0in 5.4pt; width: 58.5pt;"&gt;
&lt;p align="center" class="MsoNormal" style="text-align: center; line-height: 115%; margin-bottom: 10pt;"&gt;ProductId&lt;/p&gt;
&lt;/td&gt;
&lt;td width="66" valign="top" style="padding: 0in 5.4pt; width: 49.5pt;"&gt;
&lt;p align="center" class="MsoNormal" style="text-align: center; line-height: 115%; margin-bottom: 10pt;"&gt;OrderId&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="43" valign="top" style="padding: 0in 5.4pt; width: 0.45in;"&gt;
&lt;p align="center" class="MsoNormal" style="margin: 0pt; padding: 0pt; text-align: center; line-height: 115%;"&gt;1&lt;/p&gt;
&lt;/td&gt;
&lt;td width="72" valign="top" style="padding: 0in 5.4pt; width: 0.75in;"&gt;
&lt;p align="center" class="MsoNormal" style="margin: 0pt; padding: 0pt; text-align: center; line-height: 115%;"&gt;2&lt;/p&gt;
&lt;/td&gt;
&lt;td width="78" valign="top" style="padding: 0in 5.4pt; width: 58.5pt;"&gt;
&lt;p align="center" class="MsoNormal" style="margin: 0pt; padding: 0pt; text-align: center; line-height: 115%;"&gt;3&lt;/p&gt;
&lt;/td&gt;
&lt;td width="66" valign="top" style="padding: 0in 5.4pt; width: 49.5pt;"&gt;
&lt;p align="center" class="MsoNormal" style="margin: 0pt; padding: 0pt; text-align: center; line-height: 115%;"&gt;1&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="43" valign="top" style="padding: 0in 5.4pt; width: 0.45in;"&gt;
&lt;p align="center" class="MsoNormal" style="margin: 0pt; padding: 0pt; text-align: center; line-height: 115%;"&gt;2&lt;/p&gt;
&lt;/td&gt;
&lt;td width="72" valign="top" style="padding: 0in 5.4pt; width: 0.75in;"&gt;
&lt;p align="center" class="MsoNormal" style="margin: 0pt; padding: 0pt; text-align: center; line-height: 115%;"&gt;1&lt;/p&gt;
&lt;/td&gt;
&lt;td width="78" valign="top" style="padding: 0in 5.4pt; width: 58.5pt;"&gt;
&lt;p align="center" class="MsoNormal" style="margin: 0pt; padding: 0pt; text-align: center; line-height: 115%;"&gt;2&lt;/p&gt;
&lt;/td&gt;
&lt;td width="66" valign="top" style="padding: 0in 5.4pt; width: 49.5pt;"&gt;
&lt;p align="center" class="MsoNormal" style="margin: 0pt; padding: 0pt; text-align: center; line-height: 115%;"&gt;1&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="43" valign="top" style="padding: 0in 5.4pt; width: 0.45in;"&gt;
&lt;p align="center" class="MsoNormal" style="margin: 0pt; padding: 0pt; text-align: center; line-height: 115%;"&gt;3&lt;/p&gt;
&lt;/td&gt;
&lt;td width="72" valign="top" style="padding: 0in 5.4pt; width: 0.75in;"&gt;
&lt;p align="center" class="MsoNormal" style="margin: 0pt; padding: 0pt; text-align: center; line-height: 115%;"&gt;4&lt;/p&gt;
&lt;/td&gt;
&lt;td width="78" valign="top" style="padding: 0in 5.4pt; width: 58.5pt;"&gt;
&lt;p align="center" class="MsoNormal" style="margin: 0pt; padding: 0pt; text-align: center; line-height: 115%;"&gt;5&lt;/p&gt;
&lt;/td&gt;
&lt;td width="66" valign="top" style="padding: 0in 5.4pt; width: 49.5pt;"&gt;
&lt;p align="center" class="MsoNormal" style="margin: 0pt; padding: 0pt; text-align: center; line-height: 115%;"&gt;1&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="43" valign="top" style="padding: 0in 5.4pt; width: 0.45in;"&gt;
&lt;p align="center" class="MsoNormal" style="margin: 0pt; padding: 0pt; text-align: center; line-height: 115%;"&gt;4&lt;/p&gt;
&lt;/td&gt;
&lt;td width="72" valign="top" style="padding: 0in 5.4pt; width: 0.75in;"&gt;
&lt;p align="center" class="MsoNormal" style="margin: 0pt; padding: 0pt; text-align: center; line-height: 115%;"&gt;5&lt;/p&gt;
&lt;/td&gt;
&lt;td width="78" valign="top" style="padding: 0in 5.4pt; width: 58.5pt;"&gt;
&lt;p align="center" class="MsoNormal" style="margin: 0pt; padding: 0pt; text-align: center; line-height: 115%;"&gt;1&lt;/p&gt;
&lt;/td&gt;
&lt;td width="66" valign="top" style="padding: 0in 5.4pt; width: 49.5pt;"&gt;
&lt;p align="center" class="MsoNormal" style="margin: 0pt; padding: 0pt; text-align: center; line-height: 115%;"&gt;2&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="43" valign="top" style="padding: 0in 5.4pt; width: 0.45in;"&gt;
&lt;p align="center" class="MsoNormal" style="margin: 0pt; padding: 0pt; text-align: center; line-height: 115%;"&gt;5&lt;/p&gt;
&lt;/td&gt;
&lt;td width="72" valign="top" style="padding: 0in 5.4pt; width: 0.75in;"&gt;
&lt;p align="center" class="MsoNormal" style="margin: 0pt; padding: 0pt; text-align: center; line-height: 115%;"&gt;4&lt;/p&gt;
&lt;/td&gt;
&lt;td width="78" valign="top" style="padding: 0in 5.4pt; width: 58.5pt;"&gt;
&lt;p align="center" class="MsoNormal" style="margin: 0pt; padding: 0pt; text-align: center; line-height: 115%;"&gt;2&lt;/p&gt;
&lt;/td&gt;
&lt;td width="66" valign="top" style="padding: 0in 5.4pt; width: 49.5pt;"&gt;
&lt;p align="center" class="MsoNormal" style="margin: 0pt; padding: 0pt; text-align: center; line-height: 115%;"&gt;2&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="43" valign="top" style="padding: 0in 5.4pt; width: 0.45in;"&gt;
&lt;p align="center" class="MsoNormal" style="margin: 0pt; padding: 0pt; text-align: center; line-height: 115%;"&gt;6&lt;/p&gt;
&lt;/td&gt;
&lt;td width="72" valign="top" style="padding: 0in 5.4pt; width: 0.75in;"&gt;
&lt;p align="center" class="MsoNormal" style="margin: 0pt; padding: 0pt; text-align: center; line-height: 115%;"&gt;1&lt;/p&gt;
&lt;/td&gt;
&lt;td width="78" valign="top" style="padding: 0in 5.4pt; width: 58.5pt;"&gt;
&lt;p align="center" class="MsoNormal" style="margin: 0pt; padding: 0pt; text-align: center; line-height: 115%;"&gt;1&lt;/p&gt;
&lt;/td&gt;
&lt;td width="66" valign="top" style="padding: 0in 5.4pt; width: 49.5pt;"&gt;
&lt;p align="center" class="MsoNormal" style="margin: 0pt; padding: 0pt; text-align: center; line-height: 115%;"&gt;3&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p class="MsoNormal"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;As we saw in the &lt;a href="http://blogs.msdn.com/b/powershell/archive/2012/07/13/join-object.aspx"&gt;Join-Object&lt;/a&gt; blog, we need this many tables to deal with the simple conceptual problem of selling fruit!&lt;/p&gt;
&lt;p class="MsoNormal" style="text-align: justify;"&gt;One might question the need for the OrderItems table. An order item is a line in the receipt for an order that lists a product and its quantity. Since there can be many items per order, it needs its own table as mentioned in the &lt;a href="http://blogs.msdn.com/b/powershell/archive/2012/07/13/join-object.aspx"&gt;Join-Object&lt;/a&gt; blog.&lt;/p&gt;
&lt;p class="MsoNormal" style="text-align: justify;"&gt;As we can see from the data, we have 3 customers, 3 products, 3 orders, and 6 order items. The three first order items are for the Order with Id 1.&lt;/p&gt;
&lt;p class="MsoNormal" style="text-align: justify;"&gt;Good data design forces us to split the tables, but after this is done, we frequently need to see the data together.&lt;/p&gt;
&lt;p class="MsoNormal" style="text-align: justify;"&gt;For example, suppose I want a report with all basic receipt information, including customer name, order date, all products bought, their quantity, and price. Here is the SQL statement that produces the report:&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt;"&gt;&lt;span style="font-family: courier new,courier;"&gt;SELECT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Customer.Name, [Order].Date, OrderItem.Quantity,&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt;"&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Product.Name AS [Product Name], Product.Price&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt;"&gt;&lt;span style="font-family: courier new,courier;"&gt;FROM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OrderItem INNER JOIN Product ON OrderItem.ProductId = Product.id INNER JOIN&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt;"&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Customer INNER JOIN&amp;nbsp; [Order] ON Customer.id = [Order].CustomerId ON OrderItem.OrderId = [Order].id&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt;"&gt;Here is the result:&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;div align="center"&gt;
&lt;table class="MsoTableGrid" style="border: currentColor; border-collapse: collapse;" border="0" cellspacing="0" cellpadding="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td width="559" valign="top" style="padding: 0in 5.4pt; width: 419.4pt;" colspan="5"&gt;
&lt;p align="center" class="MsoNormal" style="margin: 0pt; padding: 0pt; text-align: center; line-height: 115%;"&gt;&lt;b&gt;Joining All Tables&lt;/b&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="115" valign="top" style="padding: 0in 5.4pt; width: 1.2in;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;Name&lt;/p&gt;
&lt;/td&gt;
&lt;td width="156" valign="top" style="padding: 0in 5.4pt; width: 117pt;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;Date&lt;/p&gt;
&lt;/td&gt;
&lt;td width="112" valign="top" style="padding: 0in 5.4pt; width: 83.85pt;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;Quantity&lt;/p&gt;
&lt;/td&gt;
&lt;td width="128" valign="top" style="padding: 0in 5.4pt; width: 95.75pt;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;Product Name&lt;/p&gt;
&lt;/td&gt;
&lt;td width="49" valign="top" style="padding: 0in 5.4pt; width: 36.4pt;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;Price&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="115" valign="top" style="padding: 0in 5.4pt; width: 1.2in;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;John Smith&lt;/p&gt;
&lt;/td&gt;
&lt;td width="156" valign="top" style="padding: 0in 5.4pt; width: 117pt;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;6/6/2012 9:12:44 AM&lt;/p&gt;
&lt;/td&gt;
&lt;td width="112" valign="top" style="padding: 0in 5.4pt; width: 83.85pt;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;2&lt;/p&gt;
&lt;/td&gt;
&lt;td width="128" valign="top" style="padding: 0in 5.4pt; width: 95.75pt;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;Apple&lt;/p&gt;
&lt;/td&gt;
&lt;td width="49" valign="top" style="padding: 0in 5.4pt; width: 36.4pt;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;10&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="115" valign="top" style="padding: 0in 5.4pt; width: 1.2in;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;John Smith&lt;/p&gt;
&lt;/td&gt;
&lt;td width="156" valign="top" style="padding: 0in 5.4pt; width: 117pt;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;6/6/2012 9:12:44 AM&lt;/p&gt;
&lt;/td&gt;
&lt;td width="112" valign="top" style="padding: 0in 5.4pt; width: 83.85pt;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;1&lt;/p&gt;
&lt;/td&gt;
&lt;td width="128" valign="top" style="padding: 0in 5.4pt; width: 95.75pt;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;Orange&lt;/p&gt;
&lt;/td&gt;
&lt;td width="49" valign="top" style="padding: 0in 5.4pt; width: 36.4pt;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;12&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="115" valign="top" style="padding: 0in 5.4pt; width: 1.2in;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;John Smith&lt;/p&gt;
&lt;/td&gt;
&lt;td width="156" valign="top" style="padding: 0in 5.4pt; width: 117pt;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;6/6/2012 9:12:44 AM&lt;/p&gt;
&lt;/td&gt;
&lt;td width="112" valign="top" style="padding: 0in 5.4pt; width: 83.85pt;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;4&lt;/p&gt;
&lt;/td&gt;
&lt;td width="128" valign="top" style="padding: 0in 5.4pt; width: 95.75pt;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;Kiwi&lt;/p&gt;
&lt;/td&gt;
&lt;td width="49" valign="top" style="padding: 0in 5.4pt; width: 36.4pt;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;5&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="115" valign="top" style="padding: 0in 5.4pt; width: 1.2in;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;John Smith&lt;/p&gt;
&lt;/td&gt;
&lt;td width="156" valign="top" style="padding: 0in 5.4pt; width: 117pt;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;6/7/2012 6:12:10 PM&lt;/p&gt;
&lt;/td&gt;
&lt;td width="112" valign="top" style="padding: 0in 5.4pt; width: 83.85pt;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;5&lt;/p&gt;
&lt;/td&gt;
&lt;td width="128" valign="top" style="padding: 0in 5.4pt; width: 95.75pt;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;Apple&lt;/p&gt;
&lt;/td&gt;
&lt;td width="49" valign="top" style="padding: 0in 5.4pt; width: 36.4pt;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;10&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="115" valign="top" style="padding: 0in 5.4pt; width: 1.2in;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;John Smith&lt;/p&gt;
&lt;/td&gt;
&lt;td width="156" valign="top" style="padding: 0in 5.4pt; width: 117pt;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;6/7/2012 6:12:10 PM&lt;/p&gt;
&lt;/td&gt;
&lt;td width="112" valign="top" style="padding: 0in 5.4pt; width: 83.85pt;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;4&lt;/p&gt;
&lt;/td&gt;
&lt;td width="128" valign="top" style="padding: 0in 5.4pt; width: 95.75pt;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;Orange&lt;/p&gt;
&lt;/td&gt;
&lt;td width="49" valign="top" style="padding: 0in 5.4pt; width: 36.4pt;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;12&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="115" valign="top" style="padding: 0in 5.4pt; width: 1.2in;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;Mark Stone&lt;/p&gt;
&lt;/td&gt;
&lt;td width="156" valign="top" style="padding: 0in 5.4pt; width: 117pt;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;6/5/2012 12:00:00 AM&lt;/p&gt;
&lt;/td&gt;
&lt;td width="112" valign="top" style="padding: 0in 5.4pt; width: 83.85pt;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;1&lt;/p&gt;
&lt;/td&gt;
&lt;td width="128" valign="top" style="padding: 0in 5.4pt; width: 95.75pt;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;Apple&lt;/p&gt;
&lt;/td&gt;
&lt;td width="49" valign="top" style="padding: 0in 5.4pt; width: 36.4pt;"&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal;"&gt;10&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p class="MsoNormal"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;b&gt;A little explanation of the SQL statement&lt;/b&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="text-align: justify;"&gt;The&amp;nbsp; &amp;ldquo;AS [Product Name]&amp;rdquo; segment sets the column name in the output. Both product name and customer name are called &amp;ldquo;Name&amp;rdquo; in their own tables, so we need to differentiate them in the output.&lt;/p&gt;
&lt;p class="MsoNormal" style="text-align: justify;"&gt;The brackets around &amp;ldquo;[Order]&amp;rdquo; differentiate it from the SQL "Order" keyword.&lt;/p&gt;
&lt;p class="MsoNormal" style="text-align: justify;"&gt;The Inner Join shows only the items present in both tables.&lt;/p&gt;
&lt;p class="MsoNormal" style="text-align: justify;"&gt;All 4 tables are &amp;ldquo;inner joined&amp;rdquo; in the statement.&lt;/p&gt;
&lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;b&gt;Putting the data in Windows PowerShell&lt;/b&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="text-align: justify;"&gt;From here on, we will use Windows PowerShell to manipulate this data, so let&amp;rsquo;s start by putting this data in PowerShell.&lt;/p&gt;
&lt;p class="MsoNormal" style="text-align: justify;"&gt;The following script creates four CSV files and then imports them into four variables that contain our data.&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: darkred; font-family: 'Lucida Console'; font-size: 9pt;"&gt;@"&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: darkred; font-family: 'Lucida Console'; font-size: 9pt;"&gt;Id,Name,Phone&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: darkred; font-family: 'Lucida Console'; font-size: 9pt;"&gt;1,John Smith,(206)555-8899&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: darkred; font-family: 'Lucida Console'; font-size: 9pt;"&gt;2,Mark Stone,(425)999-8811&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: darkred; font-family: 'Lucida Console'; font-size: 9pt;"&gt;3,Ruth Moore,(425)888-3355&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: darkred; font-family: 'Lucida Console'; font-size: 9pt;"&gt;"@&lt;/span&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 9pt;"&gt; &lt;span style="color: darkgray;"&gt;&amp;gt;&lt;/span&gt; &lt;span style="color: blueviolet;"&gt;c:\temp\customers.csv&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 9pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: orangered; font-family: 'Lucida Console'; font-size: 9pt;"&gt;$customers&lt;/span&gt;&lt;span style="color: darkgray; font-family: 'Lucida Console'; font-size: 9pt;"&gt;=&lt;/span&gt;&lt;span style="color: blue; font-family: 'Lucida Console'; font-size: 9pt;"&gt;import-csv&lt;/span&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 9pt;"&gt; &lt;span style="color: blueviolet;"&gt;c:\temp\customers.csv&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 9pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: darkred; font-family: 'Lucida Console'; font-size: 9pt;"&gt;@"&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: darkred; font-family: 'Lucida Console'; font-size: 9pt;"&gt;Id,Name,Price&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: darkred; font-family: 'Lucida Console'; font-size: 9pt;"&gt;1,Apple,10&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: darkred; font-family: 'Lucida Console'; font-size: 9pt;"&gt;2,Orange,12&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: darkred; font-family: 'Lucida Console'; font-size: 9pt;"&gt;3,Kiwi,15&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: darkred; font-family: 'Lucida Console'; font-size: 9pt;"&gt;"@&lt;/span&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 9pt;"&gt; &lt;span style="color: darkgray;"&gt;&amp;gt;&lt;/span&gt; &lt;span style="color: blueviolet;"&gt;c:\temp\products.csv&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 9pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: orangered; font-family: 'Lucida Console'; font-size: 9pt;"&gt;$products&lt;/span&gt;&lt;span style="color: darkgray; font-family: 'Lucida Console'; font-size: 9pt;"&gt;=&lt;/span&gt;&lt;span style="color: blue; font-family: 'Lucida Console'; font-size: 9pt;"&gt;import-csv&lt;/span&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 9pt;"&gt; &lt;span style="color: blueviolet;"&gt;c:\temp\products.csv&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 9pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: darkred; font-family: 'Lucida Console'; font-size: 9pt;"&gt;@"&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: darkred; font-family: 'Lucida Console'; font-size: 9pt;"&gt;Id,Date,CustomerId&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: darkred; font-family: 'Lucida Console'; font-size: 9pt;"&gt;1,6/6/2012 9:12:44 AM,1&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: darkred; font-family: 'Lucida Console'; font-size: 9pt;"&gt;2,6/7/2012 6:12:10 PM,1&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: darkred; font-family: 'Lucida Console'; font-size: 9pt;"&gt;3,6/5/2012 12:05:03 PM,2&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: darkred; font-family: 'Lucida Console'; font-size: 9pt;"&gt;"@&lt;/span&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 9pt;"&gt; &lt;span style="color: darkgray;"&gt;&amp;gt;&lt;/span&gt; &lt;span style="color: blueviolet;"&gt;c:\temp\orders.csv&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 9pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: orangered; font-family: 'Lucida Console'; font-size: 9pt;"&gt;$orders&lt;/span&gt;&lt;span style="color: darkgray; font-family: 'Lucida Console'; font-size: 9pt;"&gt;=&lt;/span&gt;&lt;span style="color: blue; font-family: 'Lucida Console'; font-size: 9pt;"&gt;import-csv&lt;/span&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 9pt;"&gt; &lt;span style="color: blueviolet;"&gt;c:\temp\orders.csv&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 9pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: darkred; font-family: 'Lucida Console'; font-size: 9pt;"&gt;@"&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: darkred; font-family: 'Lucida Console'; font-size: 9pt;"&gt;Id,Quantity,ProductId,OrderId&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: darkred; font-family: 'Lucida Console'; font-size: 9pt;"&gt;1,2,1,1&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: darkred; font-family: 'Lucida Console'; font-size: 9pt;"&gt;2,1,2,1&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: darkred; font-family: 'Lucida Console'; font-size: 9pt;"&gt;3,4,3,1&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: darkred; font-family: 'Lucida Console'; font-size: 9pt;"&gt;4,5,1,2&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: darkred; font-family: 'Lucida Console'; font-size: 9pt;"&gt;5,4,2,2&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: darkred; font-family: 'Lucida Console'; font-size: 9pt;"&gt;6,1,1,3&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: darkred; font-family: 'Lucida Console'; font-size: 9pt;"&gt;"@&lt;/span&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 9pt;"&gt; &lt;span style="color: darkgray;"&gt;&amp;gt;&lt;/span&gt; &lt;span style="color: blueviolet;"&gt;c:\temp\orderItems.csv&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 9pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: orangered; font-family: 'Lucida Console'; font-size: 9pt;"&gt;$orderItems&lt;/span&gt;&lt;span style="color: darkgray; font-family: 'Lucida Console'; font-size: 9pt;"&gt;=&lt;/span&gt;&lt;span style="color: blue; font-family: 'Lucida Console'; font-size: 9pt;"&gt;import-csv&lt;/span&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 9pt;"&gt; &lt;span style="color: blueviolet;"&gt;c:\temp\orderItems.csv&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 9pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 9pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: darkred; font-family: 'Lucida Console'; font-size: 9pt;"&gt;"Customers "&lt;/span&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 9pt;"&gt;;&lt;span style="color: orangered;"&gt;$customers&lt;/span&gt; &lt;span style="color: darkgray;"&gt;|&lt;/span&gt; &lt;span style="color: blue;"&gt;format-table&lt;/span&gt; &lt;span style="color: navy;"&gt;-AutoSize&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: darkred; font-family: 'Lucida Console'; font-size: 9pt;"&gt;"`r`nProducts "&lt;/span&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 9pt;"&gt;;&lt;span style="color: orangered;"&gt;$products&lt;/span&gt; &lt;span style="color: darkgray;"&gt;|&lt;/span&gt; &lt;span style="color: blue;"&gt;format-table&lt;/span&gt; &lt;span style="color: navy;"&gt;-AutoSize&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: darkred; font-family: 'Lucida Console'; font-size: 9pt;"&gt;"`r`nOrders "&lt;/span&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 9pt;"&gt;;&lt;span style="color: orangered;"&gt;$orders&lt;/span&gt; &lt;span style="color: darkgray;"&gt;|&lt;/span&gt; &lt;span style="color: blue;"&gt;format-table&lt;/span&gt; &lt;span style="color: navy;"&gt;-AutoSize&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: darkred; font-family: 'Lucida Console'; font-size: 9pt;"&gt;"`r`nOrder Items "&lt;/span&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 9pt;"&gt;;&lt;span style="color: orangered;"&gt;$orderItems&lt;/span&gt; &lt;span style="color: darkgray;"&gt;|&lt;/span&gt; &lt;span style="color: blue;"&gt;format-table&lt;/span&gt; &lt;span style="color: navy;"&gt;-AutoSize &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;Here is the output:&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal; background: #012456; text-autospace: none;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;Customers &lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal; background: #012456; text-autospace: none;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal; background: #012456; text-autospace: none;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;Id Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Phone &lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal; background: #012456; text-autospace: none;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;-- ----&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ----- &lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal; background: #012456; text-autospace: none;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;1&amp;nbsp; John Smith&amp;nbsp; (206)555-8899&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal; background: #012456; text-autospace: none;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;2&amp;nbsp; Mark Stone&amp;nbsp; (425)999-8811&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal; background: #012456; text-autospace: none;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;3&amp;nbsp; Ruth Moore&amp;nbsp; (425)888-3355&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal; background: #012456; text-autospace: none;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal; background: #012456; text-autospace: none;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal; background: #012456; text-autospace: none;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal; background: #012456; text-autospace: none;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;Products &lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal; background: #012456; text-autospace: none;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal; background: #012456; text-autospace: none;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;Id Name&amp;nbsp;&amp;nbsp;&amp;nbsp; Price&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal; background: #012456; text-autospace: none;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;-- ----&amp;nbsp;&amp;nbsp;&amp;nbsp; -----&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal; background: #012456; text-autospace: none;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;1&amp;nbsp; Apple&amp;nbsp;&amp;nbsp; 10 &lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal; background: #012456; text-autospace: none;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;2&amp;nbsp; Orange&amp;nbsp; 12 &lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal; background: #012456; text-autospace: none;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;3&amp;nbsp; Kiwi&amp;nbsp;&amp;nbsp;&amp;nbsp; 15 &lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal; background: #012456; text-autospace: none;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal; background: #012456; text-autospace: none;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal; background: #012456; text-autospace: none;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal; background: #012456; text-autospace: none;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;Orders &lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal; background: #012456; text-autospace: none;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal; background: #012456; text-autospace: none;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;Id Date&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CustomerId&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal; background: #012456; text-autospace: none;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;-- ----&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ----------&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal; background: #012456; text-autospace: none;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;1&amp;nbsp; 6/6/2012&amp;nbsp; 9:12:44 AM 1 &lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal; background: #012456; text-autospace: none;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;2&amp;nbsp; 6/7/2012&amp;nbsp; 6:12:10 PM 1 &lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal; background: #012456; text-autospace: none;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;3&amp;nbsp; 6/5/2012&amp;nbsp; 12:05:03 PM 2 &lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal; background: #012456; text-autospace: none;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal; background: #012456; text-autospace: none;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal; background: #012456; text-autospace: none;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal; background: #012456; text-autospace: none;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;Order Items &lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal; background: #012456; text-autospace: none;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal; background: #012456; text-autospace: none;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;Id Quantity ProductId OrderId&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal; background: #012456; text-autospace: none;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;-- -------- --------- -------&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal; background: #012456; text-autospace: none;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;1&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;1 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; 1 &lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal; background: #012456; text-autospace: none;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;2&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; 1 &lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal; background: #012456; text-autospace: none;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;3&amp;nbsp; 4&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;1 &lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal; background: #012456; text-autospace: none;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;4&amp;nbsp; 5&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;1&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;2 &lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal; background: #012456; text-autospace: none;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;5&amp;nbsp; 4&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;2&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; 2 &lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal; background: #012456; text-autospace: none;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;6&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;1&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;3 &lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; line-height: normal; background: #012456; text-autospace: none;"&gt;&lt;span style="font-size: 9.0pt; font-family: 'Lucida Console'; color: whitesmoke;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;The equivalent joins in PowerShell with the help of &lt;a href="http://blogs.msdn.com/b/powershell/archive/2012/07/13/join-object.aspx"&gt;Join-Object&lt;/a&gt; are as follows:&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 8pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: darkgreen; font-family: 'Lucida Console'; font-size: 8pt;"&gt;# Joins the customer to his orders and places Name(from Customer),&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: darkgreen; font-family: 'Lucida Console'; font-size: 8pt;"&gt;# Date(from Order) and Id (from Order)&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: orangered; font-family: 'Lucida Console'; font-size: 8pt;"&gt;$customerOrders&lt;/span&gt;&lt;span style="color: darkgray; font-family: 'Lucida Console'; font-size: 8pt;"&gt;=&lt;/span&gt;&lt;span style="color: blue; font-family: 'Lucida Console'; font-size: 8pt;"&gt;Join-Object&lt;/span&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 8pt;"&gt; &lt;span style="color: navy;"&gt;-Left&lt;/span&gt; &lt;span style="color: orangered;"&gt;$customers&lt;/span&gt; &lt;span style="color: navy;"&gt;-Right&lt;/span&gt; &lt;span style="color: orangered;"&gt;$orders&lt;/span&gt; &lt;span style="color: navy;"&gt;-LeftProperties&lt;/span&gt; &lt;span style="color: blueviolet;"&gt;Name&lt;/span&gt; &lt;span style="color: navy;"&gt;-RightProperties&lt;/span&gt; &lt;span style="color: blueviolet;"&gt;Date&lt;/span&gt;&lt;span style="color: darkgray;"&gt;,&lt;/span&gt;&lt;span style="color: blueviolet;"&gt;Id&lt;/span&gt; &lt;span style="color: navy;"&gt;-Where&lt;/span&gt; {&lt;span style="color: orangered;"&gt;$args&lt;/span&gt;&lt;span style="color: darkgray;"&gt;[&lt;/span&gt;&lt;span style="color: purple;"&gt;0&lt;/span&gt;&lt;span style="color: darkgray;"&gt;].&lt;/span&gt;Id &lt;span style="color: darkgray;"&gt;-eq&lt;/span&gt; &lt;span style="color: orangered;"&gt;$args&lt;/span&gt;&lt;span style="color: darkgray;"&gt;[&lt;/span&gt;&lt;span style="color: purple;"&gt;1&lt;/span&gt;&lt;span style="color: darkgray;"&gt;].&lt;/span&gt;CustomerId}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 8pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: darkgreen; font-family: 'Lucida Console'; font-size: 8pt;"&gt;# Adds the OrderItems to the data already gathered. The output objects will&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: darkgreen; font-family: 'Lucida Console'; font-size: 8pt;"&gt;# have Name(from Customer), Date(from Order), Quantity(from OrderItem) &lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: darkgreen; font-family: 'Lucida Console'; font-size: 8pt;"&gt;# and ProductId (from OrderItem).&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: orangered; font-family: 'Lucida Console'; font-size: 8pt;"&gt;$customerOrderItems&lt;/span&gt;&lt;span style="color: darkgray; font-family: 'Lucida Console'; font-size: 8pt;"&gt;=&lt;/span&gt;&lt;span style="color: blue; font-family: 'Lucida Console'; font-size: 8pt;"&gt;Join-Object&lt;/span&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 8pt;"&gt; &lt;span style="color: navy;"&gt;-Left&lt;/span&gt; &lt;span style="color: orangered;"&gt;$customerOrders&lt;/span&gt; &lt;span style="color: navy;"&gt;-Right&lt;/span&gt; &lt;span style="color: orangered;"&gt;$orderItems&lt;/span&gt; &lt;span style="color: navy;"&gt;-LeftProperties&lt;/span&gt; &lt;span style="color: blueviolet;"&gt;Name&lt;/span&gt;&lt;span style="color: darkgray;"&gt;,&lt;/span&gt;&lt;span style="color: blueviolet;"&gt;Date&lt;/span&gt; &lt;span style="color: navy;"&gt;-RightProperties&lt;/span&gt; &lt;span style="color: blueviolet;"&gt;Quantity&lt;/span&gt;&lt;span style="color: darkgray;"&gt;,&lt;/span&gt;&lt;span style="color: blueviolet;"&gt;ProductId&lt;/span&gt; &lt;span style="color: navy;"&gt;-Where&lt;/span&gt; {&lt;span style="color: orangered;"&gt;$args&lt;/span&gt;&lt;span style="color: darkgray;"&gt;[&lt;/span&gt;&lt;span style="color: purple;"&gt;0&lt;/span&gt;&lt;span style="color: darkgray;"&gt;].&lt;/span&gt;Id &lt;span style="color: darkgray;"&gt;-eq&lt;/span&gt; &lt;span style="color: orangered;"&gt;$args&lt;/span&gt;&lt;span style="color: darkgray;"&gt;[&lt;/span&gt;&lt;span style="color: purple;"&gt;1&lt;/span&gt;&lt;span style="color: darkgray;"&gt;].&lt;/span&gt;OrderId}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 8pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: darkgreen; font-family: 'Lucida Console'; font-size: 8pt;"&gt;# Adds the Products to the data already gathered. The output objects will&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: darkgreen; font-family: 'Lucida Console'; font-size: 8pt;"&gt;# have Name (from Customer), Date(from Order), Quantity (from OrderItem)&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: darkgreen; font-family: 'Lucida Console'; font-size: 8pt;"&gt;# Product Name (from Product) and Price from Product&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: darkgreen; font-family: 'Lucida Console'; font-size: 8pt;"&gt;# We use a Hashtable instead of simply "Name" for Product Name because&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: darkgreen; font-family: 'Lucida Console'; font-size: 8pt;"&gt;# "Name" is already present in the output object for the customer name,&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: darkgreen; font-family: 'Lucida Console'; font-size: 8pt;"&gt;# so we need to differentiate the Product name from that.&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: darkgreen; font-family: 'Lucida Console'; font-size: 8pt;"&gt;# If you did not know the syntax for the Hashtable Expression, you will&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: darkgreen; font-family: 'Lucida Console'; font-size: 8pt;"&gt;# be interested in the fact it also works for Select-Object properties&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: orangered; font-family: 'Lucida Console'; font-size: 8pt;"&gt;$customerProducts&lt;/span&gt;&lt;span style="color: darkgray; font-family: 'Lucida Console'; font-size: 8pt;"&gt;=&lt;/span&gt;&lt;span style="color: blue; font-family: 'Lucida Console'; font-size: 8pt;"&gt;Join-Object&lt;/span&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 8pt;"&gt; &lt;span style="color: navy;"&gt;-Left&lt;/span&gt; &lt;span style="color: orangered;"&gt;$customerOrderItems&lt;/span&gt; &lt;span style="color: navy;"&gt;-Right&lt;/span&gt; &lt;span style="color: orangered;"&gt;$products&lt;/span&gt; &lt;span style="color: navy;"&gt;-LeftProperties&lt;/span&gt; &lt;span style="color: blueviolet;"&gt;Name&lt;/span&gt;&lt;span style="color: darkgray;"&gt;,&lt;/span&gt;&lt;span style="color: blueviolet;"&gt;Date&lt;/span&gt;&lt;span style="color: darkgray;"&gt;,&lt;/span&gt;&lt;span style="color: blueviolet;"&gt;Quantity&lt;/span&gt; &lt;span style="color: navy;"&gt;-RightProperties&lt;/span&gt; @{Name&lt;span style="color: darkgray;"&gt;=&lt;/span&gt;&lt;span style="color: darkred;"&gt;"Product Name"&lt;/span&gt;;Expression&lt;span style="color: darkgray;"&gt;=&lt;/span&gt;{&lt;span style="color: orangered;"&gt;$_&lt;/span&gt;&lt;span style="color: darkgray;"&gt;.&lt;/span&gt;Name}}&lt;span style="color: darkgray;"&gt;,&lt;/span&gt;&lt;span style="color: blueviolet;"&gt;Price&lt;/span&gt; &lt;span style="color: navy;"&gt;-Where&lt;/span&gt; {&lt;span style="color: orangered;"&gt;$args&lt;/span&gt;&lt;span style="color: darkgray;"&gt;[&lt;/span&gt;&lt;span style="color: purple;"&gt;0&lt;/span&gt;&lt;span style="color: darkgray;"&gt;].&lt;/span&gt;ProductId &lt;span style="color: darkgray;"&gt;-eq&lt;/span&gt; &lt;span style="color: orangered;"&gt;$args&lt;/span&gt;&lt;span style="color: darkgray;"&gt;[&lt;/span&gt;&lt;span style="color: purple;"&gt;1&lt;/span&gt;&lt;span style="color: darkgray;"&gt;].&lt;/span&gt;Id}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 8pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 8pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: orangered; font-family: 'Lucida Console'; font-size: 8pt;"&gt;$customerProducts&lt;/span&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 8pt;"&gt; &lt;span style="color: darkgray;"&gt;|&lt;/span&gt; &lt;span style="color: blue;"&gt;format-table &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: blue; font-family: 'Lucida Console'; font-size: 9pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;Here is the output:&lt;/p&gt;
&lt;p class="MsoNormal" style="background: #012456; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Quantity Product Name Price&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: #012456; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;----&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ----&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -------- ------------ -----&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: #012456; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;John Smith 6/6/2012 9:12:44 AM&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Apple&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: #012456; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;John Smith 6/6/2012 9:12:44 AM&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Orange&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 12&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: #012456; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;John Smith 6/6/2012 9:12:44 AM&amp;nbsp; 4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Kiwi&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 15&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: #012456; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;John Smith 6/7/2012 6:12:10 PM&amp;nbsp; 5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Apple&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: #012456; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;John Smith 6/7/2012 6:12:10 PM&amp;nbsp; 4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Orange&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 12&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: #012456; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;Mark Stone 6/5/2012 12:05:03 PM 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Apple&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: #012456; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;So, the following three lines of code &amp;hellip;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: orangered; font-family: 'Lucida Console'; font-size: 8pt;"&gt;$customerOrders&lt;/span&gt;&lt;span style="color: darkgray; font-family: 'Lucida Console'; font-size: 8pt;"&gt;=&lt;/span&gt;&lt;span style="color: blue; font-family: 'Lucida Console'; font-size: 8pt;"&gt;Join-Object&lt;/span&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 8pt;"&gt; &lt;span style="color: navy;"&gt;-Left&lt;/span&gt; &lt;span style="color: orangered;"&gt;$customers&lt;/span&gt; &lt;span style="color: navy;"&gt;-Right&lt;/span&gt; &lt;span style="color: orangered;"&gt;$orders&lt;/span&gt; &lt;span style="color: navy;"&gt;-LeftProperties&lt;/span&gt; &lt;span style="color: blueviolet;"&gt;Name&lt;/span&gt; &lt;span style="color: navy;"&gt;-RightProperties&lt;/span&gt; &lt;span style="color: blueviolet;"&gt;Date&lt;/span&gt;&lt;span style="color: darkgray;"&gt;,&lt;/span&gt;&lt;span style="color: blueviolet;"&gt;Id&lt;/span&gt; &lt;span style="color: navy;"&gt;-Where&lt;/span&gt; {&lt;span style="color: orangered;"&gt;$args&lt;/span&gt;&lt;span style="color: darkgray;"&gt;[&lt;/span&gt;&lt;span style="color: purple;"&gt;0&lt;/span&gt;&lt;span style="color: darkgray;"&gt;].&lt;/span&gt;Id &lt;span style="color: darkgray;"&gt;-eq&lt;/span&gt; &lt;span style="color: orangered;"&gt;$args&lt;/span&gt;&lt;span style="color: darkgray;"&gt;[&lt;/span&gt;&lt;span style="color: purple;"&gt;1&lt;/span&gt;&lt;span style="color: darkgray;"&gt;].&lt;/span&gt;CustomerId}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 8pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: orangered; font-family: 'Lucida Console'; font-size: 8pt;"&gt;$customerOrderItems&lt;/span&gt;&lt;span style="color: darkgray; font-family: 'Lucida Console'; font-size: 8pt;"&gt;=&lt;/span&gt;&lt;span style="color: blue; font-family: 'Lucida Console'; font-size: 8pt;"&gt;Join-Object&lt;/span&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 8pt;"&gt; &lt;span style="color: navy;"&gt;-Left&lt;/span&gt; &lt;span style="color: orangered;"&gt;$customerOrders&lt;/span&gt; &lt;span style="color: navy;"&gt;-Right&lt;/span&gt; &lt;span style="color: orangered;"&gt;$orderItems&lt;/span&gt; &lt;span style="color: navy;"&gt;-LeftProperties&lt;/span&gt; &lt;span style="color: blueviolet;"&gt;Name&lt;/span&gt;&lt;span style="color: darkgray;"&gt;,&lt;/span&gt;&lt;span style="color: blueviolet;"&gt;Date&lt;/span&gt; &lt;span style="color: navy;"&gt;-RightProperties&lt;/span&gt; &lt;span style="color: blueviolet;"&gt;Quantity&lt;/span&gt;&lt;span style="color: darkgray;"&gt;,&lt;/span&gt;&lt;span style="color: blueviolet;"&gt;ProductId&lt;/span&gt; &lt;span style="color: navy;"&gt;-Where&lt;/span&gt; {&lt;span style="color: orangered;"&gt;$args&lt;/span&gt;&lt;span style="color: darkgray;"&gt;[&lt;/span&gt;&lt;span style="color: purple;"&gt;0&lt;/span&gt;&lt;span style="color: darkgray;"&gt;].&lt;/span&gt;Id &lt;span style="color: darkgray;"&gt;-eq&lt;/span&gt; &lt;span style="color: orangered;"&gt;$args&lt;/span&gt;&lt;span style="color: darkgray;"&gt;[&lt;/span&gt;&lt;span style="color: purple;"&gt;1&lt;/span&gt;&lt;span style="color: darkgray;"&gt;].&lt;/span&gt;OrderId}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 8pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: orangered; font-family: 'Lucida Console'; font-size: 8pt;"&gt;$customerProducts&lt;/span&gt;&lt;span style="color: darkgray; font-family: 'Lucida Console'; font-size: 8pt;"&gt;=&lt;/span&gt;&lt;span style="color: blue; font-family: 'Lucida Console'; font-size: 8pt;"&gt;Join-Object&lt;/span&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 8pt;"&gt; &lt;span style="color: navy;"&gt;-Left&lt;/span&gt; &lt;span style="color: orangered;"&gt;$customerOrderItems&lt;/span&gt; &lt;span style="color: navy;"&gt;-Right&lt;/span&gt; &lt;span style="color: orangered;"&gt;$products&lt;/span&gt; &lt;span style="color: navy;"&gt;-LeftProperties&lt;/span&gt; &lt;span style="color: blueviolet;"&gt;Name&lt;/span&gt;&lt;span style="color: darkgray;"&gt;,&lt;/span&gt;&lt;span style="color: blueviolet;"&gt;Date&lt;/span&gt;&lt;span style="color: darkgray;"&gt;,&lt;/span&gt;&lt;span style="color: blueviolet;"&gt;Quantity&lt;/span&gt; &lt;span style="color: navy;"&gt;-RightProperties&lt;/span&gt; @{Name&lt;span style="color: darkgray;"&gt;=&lt;/span&gt;&lt;span style="color: darkred;"&gt;"Product Name"&lt;/span&gt;;Expression&lt;span style="color: darkgray;"&gt;=&lt;/span&gt;{&lt;span style="color: orangered;"&gt;$_&lt;/span&gt;&lt;span style="color: darkgray;"&gt;.&lt;/span&gt;Name}}&lt;span style="color: darkgray;"&gt;,&lt;/span&gt;&lt;span style="color: blueviolet;"&gt;Price&lt;/span&gt; &lt;span style="color: navy;"&gt;-Where&lt;/span&gt; {&lt;span style="color: orangered;"&gt;$args&lt;/span&gt;&lt;span style="color: darkgray;"&gt;[&lt;/span&gt;&lt;span style="color: purple;"&gt;0&lt;/span&gt;&lt;span style="color: darkgray;"&gt;].&lt;/span&gt;ProductId &lt;span style="color: darkgray;"&gt;-eq&lt;/span&gt; &lt;span style="color: orangered;"&gt;$args&lt;/span&gt;&lt;span style="color: darkgray;"&gt;[&lt;/span&gt;&lt;span style="color: purple;"&gt;1&lt;/span&gt;&lt;span style="color: darkgray;"&gt;].&lt;/span&gt;Id}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 9pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt;"&gt;&amp;hellip; do the same job as the SQL statement:&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt;"&gt;&lt;span style="font-family: courier new,courier;"&gt;SELECT&amp;nbsp;&amp;nbsp;&amp;nbsp;Customer.Name, [Order].Date, OrderItem.Quantity,&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt;"&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Product.Name AS [Product Name], Product.Price&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt;"&gt;&lt;span style="font-family: courier new,courier;"&gt;FROM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;OrderItem INNER JOIN Product ON OrderItem.ProductId = Product.id INNER JOIN&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt;"&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Customer INNER JOIN&amp;nbsp; [Order] ON Customer.id = [Order].CustomerId ON OrderItem.OrderId = [Order].id&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; text-align: justify;"&gt;There are some advantages to the SQL statement:&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpFirst" style="margin: 0pt; padding: 0pt; text-align: justify; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol;"&gt;&amp;middot;&lt;span style="font: 7pt/normal 'Times New Roman'; font-size-adjust: none; font-stretch: normal;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;It is a single statement that is somewhat shorter than the three statements&amp;nbsp; in PowerShell.&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpLast" style="margin: 0pt; padding: 0pt; text-align: justify; text-indent: -0.25in;"&gt;&lt;span style="font-family: Symbol;"&gt;&amp;middot;&lt;span style="font: 7pt/normal 'Times New Roman'; font-size-adjust: none; font-stretch: normal;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;It has a better syntax for aliasing a property in the output (&amp;ldquo;as ProductName&amp;rdquo; as opposed to &amp;ldquo;&lt;span style="line-height: 115%; font-family: 'Lucida Console'; font-size: 9pt;"&gt;@{Name&lt;span style="color: darkgray;"&gt;=&lt;/span&gt;&lt;span style="color: darkred;"&gt;"Product Name"&lt;/span&gt;;Expression&lt;span style="color: darkgray;"&gt;=&lt;/span&gt;{&lt;span style="color: orangered;"&gt;$_&lt;/span&gt;&lt;span style="color: darkgray;"&gt;.&lt;/span&gt;Name}}&lt;/span&gt;&amp;rdquo;).&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoNormal" style="text-align: justify;"&gt;In my opinion, those are small advantages. Each one of the PowerShell join statements is easy to understand in isolation. The hashtable syntax used in the third command (to change a property name) is a bit long, but very common to PowerShell users, because&amp;nbsp; it is useful for other cmdlets including Select-Object.&lt;/p&gt;
&lt;p class="MsoNormal" style="text-align: justify;"&gt;I considered changing Join-Object to take all the lists and Where clauses in a single cmdlet call, but the need to pair each of two lists with a Where clause (and a Join type) makes the command a bit too cryptic for my taste. I prefer three statements that are easy to understand to one that is not. Performance-wise, there is no difference, because each Join has to be considered in isolation.&lt;/p&gt;
&lt;p class="MsoNormal" style="text-align: justify;"&gt;Now that the data is joined, what about getting the total money spent by each customer, the total money spent in each product and the total money spent?&lt;/p&gt;
&lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;b&gt;Total Money Spent by Each Customer&lt;/b&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;Let&amp;rsquo;s start with the whole command:&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: orangered; font-family: 'Lucida Console'; font-size: 9pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: orangered; font-family: 'Lucida Console'; font-size: 9pt;"&gt;$customerProducts&lt;/span&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 9pt;"&gt; &lt;span style="color: darkgray;"&gt;|&lt;/span&gt; &lt;span style="color: blue;"&gt;Group-Object&lt;/span&gt; &lt;span style="color: blueviolet;"&gt;name&lt;/span&gt; &lt;span style="color: darkgray;"&gt;|&lt;/span&gt; `&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 9pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: blue;"&gt;Select-Object&lt;/span&gt; &lt;span style="color: blueviolet;"&gt;Name&lt;/span&gt;&lt;span style="color: darkgray;"&gt;,&lt;/span&gt;@{Name&lt;span style="color: darkgray;"&gt;=&lt;/span&gt;&lt;span style="color: darkred;"&gt;'Total'&lt;/span&gt;;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 9pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Expression&lt;span style="color: darkgray;"&gt;=&lt;/span&gt;{&lt;span style="color: orangered;"&gt;$_&lt;/span&gt;&lt;span style="color: darkgray;"&gt;.&lt;/span&gt;Group &lt;span style="color: darkgray;"&gt;|&lt;/span&gt; &lt;span style="color: blue;"&gt;ForEach-Object&lt;/span&gt; `&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 9pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: navy;"&gt;-Begin&lt;/span&gt; {&lt;span style="color: orangered;"&gt;$total&lt;/span&gt;&lt;span style="color: darkgray;"&gt;=&lt;/span&gt;&lt;span style="color: purple;"&gt;0&lt;/span&gt;;} `&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 9pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: navy;"&gt;-Process&lt;/span&gt; {&lt;span style="color: orangered;"&gt;$total&lt;/span&gt;&lt;span style="color: darkgray;"&gt;+=[&lt;/span&gt;&lt;span style="color: teal;"&gt;int&lt;/span&gt;&lt;span style="color: darkgray;"&gt;]&lt;/span&gt;&lt;span style="color: orangered;"&gt;$_&lt;/span&gt;&lt;span style="color: darkgray;"&gt;.&lt;/span&gt;Price&lt;span style="color: darkgray;"&gt;*&lt;/span&gt;&lt;span style="color: orangered;"&gt;$_&lt;/span&gt;&lt;span style="color: darkgray;"&gt;.&lt;/span&gt;Quantity} `&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 9pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: navy;"&gt;-End&lt;/span&gt; {&lt;span style="color: orangered;"&gt;$total&lt;/span&gt;}}} &lt;span style="color: darkgray;"&gt;|&lt;/span&gt; &lt;span style="color: blue;"&gt;format-table&lt;/span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="text-align: justify;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoNormal" style="text-align: justify;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoNormal" style="text-align: justify;"&gt;It produces this output:&lt;/p&gt;
&lt;p class="MsoNormal" style="background: #012456; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: whitesmoke; font-family: courier new,courier; font-size: 9pt;"&gt;Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: #012456; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: whitesmoke; font-family: courier new,courier; font-size: 9pt;"&gt;----&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ---&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: #012456; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: whitesmoke; font-family: courier new,courier; font-size: 9pt;"&gt;John Smith 190&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: #012456; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: whitesmoke; font-family: courier new,courier; font-size: 9pt;"&gt;Mark Stone&amp;nbsp; 10&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: #012456; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="text-align: justify;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoNormal" style="text-align: justify;"&gt;The first line:&lt;/p&gt;
&lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;span style="color: orangered; line-height: 115%; font-family: 'Lucida Console'; font-size: 9pt;"&gt;$customerProducts&lt;/span&gt;&lt;span style="line-height: 115%; font-family: 'Lucida Console'; font-size: 9pt;"&gt; &lt;span style="color: darkgray;"&gt;|&lt;/span&gt; &lt;span style="color: blue;"&gt;Group-Object&lt;/span&gt; &lt;span style="color: blueviolet;"&gt;name&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="text-align: justify;"&gt;Produces two groups:&lt;/p&gt;
&lt;p class="MsoNormal" style="background: #012456; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: whitesmoke; font-family: courier new,courier; font-size: 9pt;"&gt;Count Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Group&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: #012456; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: whitesmoke; font-family: courier new,courier; font-size: 9pt;"&gt;----- ----&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -----&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: #012456; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: whitesmoke; font-family: courier new,courier; font-size: 9pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5 John Smith&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {@{Name=John Smith; Date=6/6/2012 9:12:44 AM;...&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: #012456; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: whitesmoke; font-family: courier new,courier; font-size: 9pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 Mark Stone&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {@{Name=Mark Stone; Date=6/5/2012 12:05:03 PM;...&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="text-align: justify;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoNormal" style="text-align: justify;"&gt;In order to better see what is in each group, we run:&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 9pt;"&gt;(&lt;span style="color: orangered;"&gt;$customerProducts&lt;/span&gt; &lt;span style="color: darkgray;"&gt;|&lt;/span&gt; &lt;span style="color: blue;"&gt;Group-Object&lt;/span&gt; &lt;span style="color: blueviolet;"&gt;name&lt;/span&gt;)&lt;span style="color: darkgray;"&gt;[&lt;/span&gt;&lt;span style="color: purple;"&gt;0&lt;/span&gt;&lt;span style="color: darkgray;"&gt;].&lt;/span&gt;Group &lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 9pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="text-align: justify;"&gt;Which produces:&lt;/p&gt;
&lt;p class="MsoNormal" style="background: #012456; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : John Smith&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: #012456; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;Date&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 6/6/2012 9:12:44 AM&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: #012456; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;Quantity&amp;nbsp;&amp;nbsp;&amp;nbsp; : 2&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: #012456; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;ProductName : Apple&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: #012456; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;Price&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;: 10&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: #012456; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: #012456; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : John Smith&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: #012456; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;Date&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 6/6/2012 9:12:44 AM&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: #012456; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;Quantity&amp;nbsp;&amp;nbsp;&amp;nbsp; : 1&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: #012456; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;ProductName : Orange&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: #012456; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;Price&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 12&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: #012456; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: #012456; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : John Smith&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: #012456; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;Date&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 6/6/2012 9:12:44 AM&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: #012456; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;Quantity&amp;nbsp;&amp;nbsp;&amp;nbsp; : 4&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: #012456; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;ProductName : Kiwi&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: #012456; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;Price&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 15&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: #012456; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: #012456; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : John Smith&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: #012456; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;Date&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 6/7/2012 6:12:10 PM&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: #012456; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;Quantity&amp;nbsp;&amp;nbsp;&amp;nbsp; : 5&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: #012456; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;ProductName : Apple&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: #012456; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;Price&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 10&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: #012456; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: #012456; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : John Smith&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: #012456; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;Date&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 6/7/2012 6:12:10 PM&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: #012456; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;Quantity&amp;nbsp;&amp;nbsp;&amp;nbsp; : 4&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: #012456; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;ProductName : Orange&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: #012456; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;Price&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 12 &lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="text-align: justify;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoNormal" style="text-align: justify;"&gt;And:&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 9pt;"&gt;(&lt;span style="color: orangered;"&gt;$customerProducts&lt;/span&gt; &lt;span style="color: darkgray;"&gt;|&lt;/span&gt; &lt;span style="color: blue;"&gt;Group-Object&lt;/span&gt; &lt;span style="color: blueviolet;"&gt;name&lt;/span&gt;)&lt;span style="color: darkgray;"&gt;[&lt;/span&gt;&lt;span style="color: purple;"&gt;1&lt;/span&gt;&lt;span style="color: darkgray;"&gt;].&lt;/span&gt;Group &lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 9pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="text-align: justify;"&gt;Which produces:&lt;/p&gt;
&lt;p class="MsoNormal" style="background: #012456; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : Mark Stone&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: #012456; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;Date&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 6/5/2012 12:05:03 PM&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: #012456; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;Quantity&amp;nbsp;&amp;nbsp;&amp;nbsp; : 1&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: #012456; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;ProductName : Apple&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: #012456; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;Price&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 10 &lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="text-align: justify;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoNormal" style="text-align: justify;"&gt;So, inside the &amp;ldquo;Group&amp;rdquo; property of each object in the output of group-object is the Price and Quantity we want to multiply in order to get a total. If we wanted just the total quantity of fruit we could do:&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: orangered; font-family: 'Lucida Console'; font-size: 9pt;"&gt;$customerProducts&lt;/span&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 9pt;"&gt; &lt;span style="color: darkgray;"&gt;|&lt;/span&gt; &lt;span style="color: blue;"&gt;Group-Object&lt;/span&gt; &lt;span style="color: blueviolet;"&gt;name&lt;/span&gt; &lt;span style="color: darkgray;"&gt;|&lt;/span&gt; `&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 9pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: blue;"&gt;Select-Object&lt;/span&gt; &lt;span style="color: blueviolet;"&gt;Name&lt;/span&gt;&lt;span style="color: darkgray;"&gt;,&lt;/span&gt; `&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 9pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; @{Name&lt;span style="color: darkgray;"&gt;=&lt;/span&gt;&lt;span style="color: darkred;"&gt;'Total'&lt;/span&gt;;Expression&lt;span style="color: darkgray;"&gt;=&lt;/span&gt;{(&lt;span style="color: orangered;"&gt;$_&lt;/span&gt;&lt;span style="color: darkgray;"&gt;.&lt;/span&gt;Group &lt;span style="color: darkgray;"&gt;|&lt;/span&gt; &lt;span style="color: blue;"&gt;Measure-Object&lt;/span&gt; &lt;span style="color: blueviolet;"&gt;Quantity&lt;/span&gt; &lt;span style="color: navy;"&gt;-Sum&lt;/span&gt;)&lt;span style="color: darkgray;"&gt;.&lt;/span&gt;Sum}} `&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 9pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: darkgray;"&gt;|&lt;/span&gt; &lt;span style="color: blue;"&gt;format-table&lt;/span&gt;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 9pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="text-align: justify;"&gt;With output:&lt;/p&gt;
&lt;p class="MsoNormal" style="background: #012456; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Total&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: #012456; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;----&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -----&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: #012456; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;John Smith&amp;nbsp;&amp;nbsp;&amp;nbsp; 16&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: #012456; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;Mark Stone&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 &lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="text-align: justify;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: blueviolet; font-family: 'Lucida Console';"&gt;Name&lt;/span&gt; is the first column in the output. The second column is given by:&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 9pt;"&gt;@{Name&lt;span style="color: darkgray;"&gt;=&lt;/span&gt;&lt;span style="color: darkred;"&gt;'Total'&lt;/span&gt;; Expression&lt;span style="color: darkgray;"&gt;=&lt;/span&gt;{(&lt;span style="color: orangered;"&gt;$_&lt;/span&gt;&lt;span style="color: darkgray;"&gt;.&lt;/span&gt;Group &lt;span style="color: darkgray;"&gt;|&lt;/span&gt; &lt;span style="color: blue;"&gt;Measure-Object&lt;/span&gt; &lt;span style="color: blueviolet;"&gt;Quantity&lt;/span&gt; &lt;span style="color: navy;"&gt;-Sum&lt;/span&gt;)&lt;span style="color: darkgray;"&gt;.&lt;/span&gt;Sum}}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="text-align: justify;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoNormal" style="text-align: justify;"&gt;This hashtable is a syntax for select object which means a column with a Name = Total and a value which is the Expression. The Expression gets the value of the Group property and pipes to Measure-Object to sum the &amp;lsquo;Quantity&amp;rsquo; property of each member of the Group. Finally the Sum property of the Measure-Object result is retrieved. That property contains the actual sum.&lt;/p&gt;
&lt;p class="MsoNormal" style="text-align: justify;"&gt;Since we want to get Price * Quantity and measure-object only supports plain properties we end up with the full command repeated here:&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: orangered; font-family: 'Lucida Console'; font-size: 9pt;"&gt;$customerProducts&lt;/span&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 9pt;"&gt; &lt;span style="color: darkgray;"&gt;|&lt;/span&gt; &lt;span style="color: blue;"&gt;Group-Object&lt;/span&gt; &lt;span style="color: blueviolet;"&gt;name&lt;/span&gt; &lt;span style="color: darkgray;"&gt;|&lt;/span&gt; `&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 9pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: blue;"&gt;Select-Object&lt;/span&gt; &lt;span style="color: blueviolet;"&gt;Name&lt;/span&gt;&lt;span style="color: darkgray;"&gt;,&lt;/span&gt;@{Name&lt;span style="color: darkgray;"&gt;=&lt;/span&gt;&lt;span style="color: darkred;"&gt;'Total'&lt;/span&gt;;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 9pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Expression&lt;span style="color: darkgray;"&gt;=&lt;/span&gt;{&lt;span style="color: orangered;"&gt;$_&lt;/span&gt;&lt;span style="color: darkgray;"&gt;.&lt;/span&gt;Group &lt;span style="color: darkgray;"&gt;|&lt;/span&gt; &lt;span style="color: blue;"&gt;ForEach-Object&lt;/span&gt; `&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 9pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: navy;"&gt;-Begin&lt;/span&gt; {&lt;span style="color: orangered;"&gt;$total&lt;/span&gt;&lt;span style="color: darkgray;"&gt;=&lt;/span&gt;&lt;span style="color: purple;"&gt;0&lt;/span&gt;;} `&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 9pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: navy;"&gt;-Process&lt;/span&gt; {&lt;span style="color: orangered;"&gt;$total&lt;/span&gt;&lt;span style="color: darkgray;"&gt;+=[&lt;/span&gt;&lt;span style="color: teal;"&gt;int&lt;/span&gt;&lt;span style="color: darkgray;"&gt;]&lt;/span&gt;&lt;span style="color: orangered;"&gt;$_&lt;/span&gt;&lt;span style="color: darkgray;"&gt;.&lt;/span&gt;Price&lt;span style="color: darkgray;"&gt;*&lt;/span&gt;&lt;span style="color: orangered;"&gt;$_&lt;/span&gt;&lt;span style="color: darkgray;"&gt;.&lt;/span&gt;Quantity} `&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 9pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: navy;"&gt;-End&lt;/span&gt; {&lt;span style="color: orangered;"&gt;$total&lt;/span&gt;}}} &lt;span style="color: darkgray;"&gt;|&lt;/span&gt; &lt;span style="color: blue;"&gt;format-table&lt;/span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="text-align: justify;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoNormal" style="text-align: justify;"&gt;Instead of | measure-object we have a | ForEach-Object where we use &amp;ndash;Begin, -Process and &amp;ndash;End to evaluate the total. This could be easily modified to calculate anything else, including averages, standard deviations, etc.&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="line-height: 115%; font-size: 4pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt; text-align: justify;"&gt;Note: The [int] cast in front of $_.Price is required because the price is a string out of our CSV file. This could be avoided by using Export-CliXml and Import-CliXml for our data, whioch would preserve the data type.&lt;/p&gt;
&lt;p class="MsoListParagraph" style="text-align: justify;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoNormal" style="text-align: justify;"&gt;Here is the corresponding SQL statement:&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt;"&gt;&lt;span style="font-family: courier new,courier;"&gt;SELECT&amp;nbsp;&amp;nbsp;&amp;nbsp;Customer.Name, &lt;b&gt;SUM(OrderItem.Quantity * Product.Price)&lt;/b&gt; AS SUM&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt;"&gt;&lt;span style="font-family: courier new,courier;"&gt;FROM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;OrderItem INNER JOIN&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt;"&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Product ON OrderItem.ProductId = Product.id INNER JOIN&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt;"&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Customer INNER JOIN&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt;"&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Order] ON Customer.id = [Order].CustomerId ON OrderItem.OrderId = [Order].id&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt;"&gt;&lt;span style="font-family: courier new,courier;"&gt;&lt;b&gt;GROUP BY Customer.Name&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="text-align: justify;"&gt;The SQL statement combines the joining, grouping and total evaluation(Price * Quantity) operations.&lt;/p&gt;
&lt;p class="MsoNormal" style="text-align: justify;"&gt;The Powershell statement is only doing the grouping and total evaluation, since the $customerProducts variable has the result of the joins performed in the previous section of this blog post.&lt;/p&gt;
&lt;p class="MsoNormal" style="text-align: justify;"&gt;The bold segments of the SQL statement are performing the grouping and the PowerShell statement.&lt;/p&gt;
&lt;p class="MsoNormal" style="text-align: justify;"&gt;SQL is designed specifically for this kind of data, so it provides a shorter syntax overall, but I believe the PowerShell equivalent is simple enough to understand.&lt;/p&gt;
&lt;p class="MsoNormal" style="text-align: justify;"&gt;&lt;b&gt;Total Money Spent in Each Product&lt;/b&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="text-align: justify;"&gt;The only thing that changes from the previous section is that the property we&amp;rsquo;re passing to Group-Object is &amp;ldquo;ProductName&amp;rdquo;:&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: orangered; font-family: 'Lucida Console'; font-size: 9pt;"&gt;$customerProducts&lt;/span&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 9pt;"&gt; &lt;span style="color: darkgray;"&gt;|&lt;/span&gt; &lt;span style="color: blue;"&gt;Group-Object&lt;/span&gt; &lt;span style="color: blueviolet;"&gt;ProductName&lt;/span&gt; &lt;span style="color: darkgray;"&gt;|&lt;/span&gt; `&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 9pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: blue;"&gt;Select-Object&lt;/span&gt; &lt;span style="color: blueviolet;"&gt;Name&lt;/span&gt;&lt;span style="color: darkgray;"&gt;,&lt;/span&gt;@{Name&lt;span style="color: darkgray;"&gt;=&lt;/span&gt;&lt;span style="color: darkred;"&gt;'Total'&lt;/span&gt;;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 9pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Expression&lt;span style="color: darkgray;"&gt;=&lt;/span&gt;{&lt;span style="color: orangered;"&gt;$_&lt;/span&gt;&lt;span style="color: darkgray;"&gt;.&lt;/span&gt;Group &lt;span style="color: darkgray;"&gt;|&lt;/span&gt; &lt;span style="color: blue;"&gt;ForEach-Object&lt;/span&gt; `&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 9pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: navy;"&gt;-Begin&lt;/span&gt; {&lt;span style="color: orangered;"&gt;$total&lt;/span&gt;&lt;span style="color: darkgray;"&gt;=&lt;/span&gt;&lt;span style="color: purple;"&gt;0&lt;/span&gt;;} `&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 9pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: navy;"&gt;-Process&lt;/span&gt; {&lt;span style="color: orangered;"&gt;$total&lt;/span&gt;&lt;span style="color: darkgray;"&gt;+=[&lt;/span&gt;&lt;span style="color: teal;"&gt;int&lt;/span&gt;&lt;span style="color: darkgray;"&gt;]&lt;/span&gt;&lt;span style="color: orangered;"&gt;$_&lt;/span&gt;&lt;span style="color: darkgray;"&gt;.&lt;/span&gt;Price&lt;span style="color: darkgray;"&gt;*&lt;/span&gt;&lt;span style="color: orangered;"&gt;$_&lt;/span&gt;&lt;span style="color: darkgray;"&gt;.&lt;/span&gt;Quantity} `&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 9pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: navy;"&gt;-End&lt;/span&gt; {&lt;span style="color: orangered;"&gt;$total&lt;/span&gt;}}} &lt;span style="color: darkgray;"&gt;|&lt;/span&gt; &lt;span style="color: blue;"&gt;format-table&lt;/span&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: #012456; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;Name&amp;nbsp;&amp;nbsp; Sum&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: #012456; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;----&amp;nbsp;&amp;nbsp; ---&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: #012456; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;Apple&amp;nbsp;&amp;nbsp; 80&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: #012456; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;Orange&amp;nbsp; 60&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: #012456; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: whitesmoke; font-family: 'Lucida Console'; font-size: 9pt;"&gt;Kiwi&amp;nbsp;&amp;nbsp;&amp;nbsp; 60 &lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;The corresponding SQL is:&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt;"&gt;&lt;span style="font-family: courier new,courier;"&gt;SELECT&amp;nbsp;&amp;nbsp;Product.Name, &lt;b&gt;SUM(OrderItem.Quantity * Product.Price)&lt;/b&gt; AS Sum&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt;"&gt;&lt;span style="font-family: courier new,courier;"&gt;FROM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;OrderItem INNER JOIN&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt;"&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Product ON OrderItem.ProductId = Product.id&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt;"&gt;&lt;span style="font-family: courier new,courier;"&gt;&lt;b&gt;GROUP BY Product.Name&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;b&gt;Total Money Spent&lt;/b&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;Here is the command that produces this total:&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="color: orangered; font-family: 'Lucida Console'; font-size: 9pt;"&gt;$customerProducts&lt;/span&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 9pt;"&gt; &lt;span style="color: darkgray;"&gt;|&lt;/span&gt; &lt;span style="color: blue;"&gt;ForEach-Object&lt;/span&gt; `&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 9pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: navy;"&gt;-Begin&lt;/span&gt; {&lt;span style="color: orangered;"&gt;$total&lt;/span&gt;&lt;span style="color: darkgray;"&gt;=&lt;/span&gt;&lt;span style="color: purple;"&gt;0&lt;/span&gt;;} `&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 9pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: navy;"&gt;-Process&lt;/span&gt; {&lt;span style="color: orangered;"&gt;$total&lt;/span&gt;&lt;span style="color: darkgray;"&gt;+=[&lt;/span&gt;&lt;span style="color: teal;"&gt;int&lt;/span&gt;&lt;span style="color: darkgray;"&gt;]&lt;/span&gt;&lt;span style="color: orangered;"&gt;$_&lt;/span&gt;&lt;span style="color: darkgray;"&gt;.&lt;/span&gt;Price&lt;span style="color: darkgray;"&gt;*&lt;/span&gt;&lt;span style="color: orangered;"&gt;$_&lt;/span&gt;&lt;span style="color: darkgray;"&gt;.&lt;/span&gt;Quantity} `&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 9pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: navy;"&gt;-End&lt;/span&gt; {&lt;span style="color: orangered;"&gt;$total&lt;/span&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="background: white; margin: 0pt; padding: 0pt; line-height: normal;"&gt;&lt;span style="font-family: 'Lucida Console'; font-size: 9pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;Here is the corresponding SQL:&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt;"&gt;&lt;span style="font-family: courier new,courier;"&gt;SELECT&amp;nbsp; &lt;b&gt;SUM(OrderItem.Quantity * Product.Price)&lt;/b&gt; AS Sum&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt;"&gt;&lt;span style="font-family: courier new,courier;"&gt;FROM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;OrderItem INNER JOIN&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt;"&gt;&lt;span style="font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Product ON OrderItem.ProductId = Product.id&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoNormal" style="margin: 0pt; padding: 0pt;"&gt;Lucio Silveira[MSFT]&lt;/p&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10355722" width="1" height="1"&gt;</description></item><item><title>Windows Management Framework 3.0 Available for Download</title><link>http://blogs.msdn.com/b/powershell/archive/2012/09/17/windows-management-framework-3-0-available-for-download.aspx</link><pubDate>Mon, 17 Sep 2012 19:38:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10350225</guid><dc:creator>PowerShell Team</dc:creator><slash:comments>17</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/powershell/rsscomments.aspx?WeblogPostID=10350225</wfw:commentRss><comments>http://blogs.msdn.com/b/powershell/archive/2012/09/17/windows-management-framework-3-0-available-for-download.aspx#comments</comments><description>&lt;p&gt;We hope that you&amp;rsquo;ve been enjoying all of the great new Windows PowerShell 3.0 features in &lt;a href="http://www.windows-server-launch.com/"&gt;Windows Server 2012&lt;/a&gt;. We wanted to make sure that everyone knows the final release of Windows Management Framework 3.0 is also available for download from the &lt;a href="http://go.microsoft.com/fwlink/?LinkId=251995"&gt;Microsoft Download Center&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Windows Management Framework 3.0 makes much of the same great management functionality from Windows Server 2012 available to earlier versions of Windows. Windows Management Framework 3.0 allows you to install Windows PowerShell 3.0 (including a new version of WMI and WinRM) on the following Operating Systems:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Windows 7 Service Pack 1 (32-bit &amp;amp; 64-bit)&lt;/li&gt;
&lt;li&gt;Windows Server 2008 R2 Service Pack 1 (64-bit only, includes Server Core)&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Windows Server 2008 Service Pack 2 (32-bit &amp;amp; 64-bit)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Note: You must uninstall any of the pre-release packages of Windows Management Framework prior to installing the final release.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Travis Jones [MSFT] &lt;br /&gt;Program Manager &amp;ndash; Windows PowerShell &lt;br /&gt;Microsoft Corporation&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10350225" width="1" height="1"&gt;</description></item><item><title>Managing Hardware devices from PowerShell</title><link>http://blogs.msdn.com/b/powershell/archive/2012/09/10/managing-hardware-devices-from-powershell.aspx</link><pubDate>Mon, 10 Sep 2012 17:52:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10347897</guid><dc:creator>PowerShell Team</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/powershell/rsscomments.aspx?WeblogPostID=10347897</wfw:commentRss><comments>http://blogs.msdn.com/b/powershell/archive/2012/09/10/managing-hardware-devices-from-powershell.aspx#comments</comments><description>&lt;p&gt;Steve did a very cool blog post last month about managing hardware that implements standard DMTF profiles (examples: Intel AMT , Broadcom TruManage )&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/b/wmi/archive/2012/08/08/standards-based-hardware-management-using-powershell.aspx"&gt;http://blogs.msdn.com/b/wmi/archive/2012/08/08/standards-based-hardware-management-using-powershell.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;He has also published a PowerShell module on TechNet script center to help IT Pros. This module has been built on top of new CIM Cmdlets.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://gallery.technet.microsoft.com/scriptcenter/PowerShell-Out-of-Band-84009c12"&gt;http://gallery.technet.microsoft.com/scriptcenter/PowerShell-Out-of-Band-84009c12&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Take a look, and send your feedback.&lt;/p&gt;
&lt;p&gt;Osama Sajid&lt;/p&gt;
&lt;p&gt;Program Manager, WMI&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10347897" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/powershell/archive/tags/WMI/">WMI</category><category domain="http://blogs.msdn.com/b/powershell/archive/tags/CIM/">CIM</category><category domain="http://blogs.msdn.com/b/powershell/archive/tags/DMTF/">DMTF</category><category domain="http://blogs.msdn.com/b/powershell/archive/tags/Hardware+Management/">Hardware Management</category></item></channel></rss>