Hey there,
once again I’ve a question.
I’ve two CSV files with a URL and a Timestamp. But I want to merge them, but only with unique entrys and if the URL is existing in both files it should take the newer file (tmp-file)
If you have proper CSV files you should treat them as such and use Import-Csv instead of Get-Content.
If they are the same why does it matter which one you use?
You can use
to compare two arrays. Please read the help completely inclusding the examples to learn how to use it.
If you need further assistance you should share some sample data of your input files as well (formatted as code as well please) and maybe a sample of thexpected result.