i need to compare 2 csv file contain list of server:
the first file contain:
server1
server2
server3
the second file:
server0
server30
server1
server3
server2
server40
i need to compare this 2 csv file and only export the difference, the result will be:
server0
server30
server40
thanks for help
If you want names as well that appear only in the first file, but not in the second, just remove the line "Where-Object ..."
Open in new window