sort: Sort-Object or sort first n: sort -Property count -Descending | select -First 10 group: Group-Object or group