title: Does powershell have associative arrays?
body: <p>I am writing a function that returns an id, name pair.</p>
  
  <p>I would like to do something like</p>
  
  <pre><code>$a = get-name-id-pair()
  $a.Id
  $a.Name
  </code></pre>
  
  <p>like is possible in javascript.  Or at least</p>
  
  <pre><code>$a = get-name-id-pair()
  $a["id"]
  $a["name"]
  </code></pre>
  
  <p>like is possible in php.  Can I do that with powershell?</p>