My understanding is that
$list = @('1', '2', '3', '1', '4')
Select-Object -InputObject $list -Unique
should return an array of just 4 elements, skipping the second '1' that is not unique.
But I am getting all 5 elements back. Am I understanding this wrong, or does Select-Object have a bug, at least in the PS 5.1 that I am testing on?