title: Difference between Get-Unique and select-object -unique
body: <p>Using PowerShell, I import csv-data from file via "import-csv" into the object $csvList. This csv-data has a column called Benutzer. When doing something like this:</p>
  
  <pre><code>$csvList | %{$_.Benutzer} | select-object -unique
  </code></pre>
  
  <p>there is nothing special: as expected, the unique entries in Benutzer are returned, which are around 10 items. However, </p>
  
  <pre><code>$csvList | %{$_.Benutzer} | get-unique -asstring
  </code></pre>
  
  <p>or</p>
  
  <pre><code>$csvList | Group($_.Benutzer)
  </code></pre>
  
  <p>seem to treat each entry as unqiue, i.e. the entire array of 260 Benutzer is returned in case of get-unique and 260 groups are created in case of the group statement.
  I am using PowerShell 4.0.</p>
  
  <p>Any idea what is going on here is appreciated...</p>