title: Powershell Custom Object property order issue
body: <p>When creating a custom object in powershell my properties are not ordering in the same precedence I type them in (top to bottom -&gt; left to right).</p>
  <p>I was told to use [ordered] on my table declaration as done below;</p>
  <pre><code>$AllMailData += New-Object PSObject -Property [ordered]@{
              'Unique ID' = $sharedmail.PrimarySmtpAddress
              'Display Name' = $sharedmail.DisplayName
          }
  </code></pre>
  <p>However this gives me a syntax error. Can anyone suggest where I have gone wrong?</p>