Group-Object is magic !
I had to create a script that sort a whole csv, each line is an extract of a computer scan, one extract per day, and get only the last extract per computer AND per user.
Indeed, a user can use multiple computers, and several users can use the same computer, the extract result is not the same !