Here after my problem:
I have a csv file which look like:
#TYPE System.Management.Automation.PSCustomObject
"Enrolled User";"Device ID"
"[email protected] ""XenMobile Shared iPod Enrolment User""";"16"
"[email protected] ""XenMobile Shared iPod Enrolment User""";"18"
"[email protected] ""XenMobile Shared iPod Enrolment User""";"20"
"[email protected] ""XenMobile Shared iPad Enrolment User""";"22"
"[email protected] ""xmtest02""";"26"
"[email protected] ""xmtest01""";"46"
"[email protected] ""XenMobile Shared iPad Enrolment User""";"61"
"[email protected] ""XenMobile Shared iPod Enrolment User""";"62"
"[email protected] ""Martin Dupont - Head of IT Service Delivery""";"66"
"[email protected] ""xmtest01""";"70"
"[email protected] ""XenMobile Shared iPod Enrolment User""";"75"
"[email protected] ""XenMobile Shared iPod Enrolment User""";"76"
"[email protected] ""XenMobile Shared iPod Enrolment User""";"80"
"[email protected] ""xmtest01""";"81"
"[email protected] ""xmtest01""";"83"
"[email protected] ""XenMobile Shared iPad Enrolment User""";"88"
"[email protected] ""Roger Durand - Head of HR""";"89"
I would like to create a script to remove the unique value and keep only the values that are present more than once (based on 1st column, "Enrolled User")in the csv file.
Thanks for any input/help.
Cheers, Arnaud