title: Powershell: align right for a column value from Select-Object in Format-Table format
body: <p>I have the following array value $outData with several columns. I am not sure how I align some columns right?</p>
  
  <pre><code>$outData | Select-Object `
        Name `
        @{Name="Freespace(byte)"; Expression={"{0:N0}" -f $_.FreeSpace}}, '
        .... # other colums `
   | Format-Table -AutoSize
  </code></pre>
  
  <p>It works fine. However, when I tried to use align for the freespace column to right:</p>
  
  <pre><code>      @{Name="Freespace(byte)"; Expression={"{0:N0}" -f $_.FreeSpace}; align="right"}, '
  </code></pre>
  
  <p>I got error message "Specified method is not supported". Not sure if there is any way to align the value to right?</p>