I have an array $data :
PS> $data
Datum User Computer
----- --------- --------
10/06/2013 13:10:56 [email protected] DC1$
10/06/2013 13:09:25 [email protected] DC2$
10/06/2013 10:05:13 [email protected] DC2$
7/06/2013 16:32:47 [email protected] DC1$
I want to get the latest dates from the $data array for each computer like this:
PS> $result
Datum User Computer
----- --------- --------
10/06/2013 13:10:56 [email protected] DC1$
10/06/2013 13:09:25 [email protected] DC2$
I really couldn't get this result. Could you please help me on this?