title: powershell hashtable key versus object property
body: <p>I'm confused at how PowerShell treats Hashtable keys versus object properties.</p>
  
  <p>Consider:</p>
  
  <pre><code>$list = @{
      'one' = @{
          name  = 'one'
          order = 80
          };
  
      'two' = @{
          name  = 'two'
          order = 40
          };
  
      'twotwo' = @{
          name  = 'twotwo'
          order = 40
          };
  
      'three' = @{
          name  = 'three'
          order = 20
          }
      }
  
  $list.Values|group-object { $_.order }
  $list.Values|group-object -property order
  </code></pre>
  
  <p>The first Group-Object gives me what I expect (three groups), the second one does not (one big group).  Clearly Hashtable keys are not object properties, but syntactically they are referenced in the same manner (var.name).  </p>
  
  <p>What is that second group-object actually doing?<br>
  What does it think the 'order' property is?  </p>