I have a.txt and b.txt. A.txt contains {2b,3c,5e,8h}, B.txt contains {1a,2b,3c,4d,5e,6f}
I would like to compare those two files, and out put only what a.txt have,i.e. "8h".
I have tried Compare-Object command. But it gives out the differences. Please help