I typed the following command to find out how many unique objects there were and it gave me 5. I don't know why this gives 5.
> $var = @(2,4,2,5,3,6,34,6,3,6,4,6,3,5,5,353,5343,5,3,56,34)
>$var | sort -Unique
2
3
4
5
6
34
56
353
5343
>$var | sort -Unique Count
5
-Propertybut i'm not sure why.-Propertyseems to take any string... The number returned is just an item from the incoming list, for example1,4,6,12,65,3,13 | Sort-Object -Unique -Property itsABugMaybereturns65. You might want to post this here