I have two text files. One text file has a list of strings (over three hundred) divided into separate lines. I need to see if the strings in this text file exist in another file.
I've used select-string before to look for patterns, but these have been one off patterns. I've never used select-string for an entire file.
I think the correct format is to load the file using gci and then iterate through it using select-string and then compare this against the file that I need to examine, but I'm having no luck.
Any pointers to get started would be greatly appreciated.