Hi,
I need your help.
I have two csv file the first with a lot of columns and 25000 lines the second have only three columns with 1000 lines.
i need to compare the two files with only one property "usualname" it's the same column in the two files. with the side indicator -eq == , i need to get the other propertys location, from the first , id from the second corresponding to usualname. and finally create a 3 file with a mix of information from the two files.
$files1= import-csv -path d:\file1.csv -delimiter ","| select-object usualname,location
$files2= import-csv -path d:\file2.csv -delimiter ","| select-object usualname,room,building,id
compare-object $file1 $file2 -property Usualname -includeequal |where {$_sideindicator -eq "=="}
then i don't have idea so i don't know what i have to do
thank you in advance for your help
regards,
youssef