I have lots of txt files and each of the file has below contents. And I want to compare Run with Passed value. e.g. 00001A22 vs 00001A22
I can use excel for those works but I have more than 200 files. It's a big job.
And I try to use powershell to build a script to extract 2 strings and compare it. I tried to select string but I failed. Is there any method to work?
DRAM Test Run: 00001A22 Passed: 00001A22
Ethernet Test Run: 000011E2 Passed: 000011E2
DRAM Test Run: 00001BA7 Passed: 00001BA7
Ethernet Test Run: 000012EC Passed: 000012EC
DRAM Test Run: 00001CA3 Passed: 00001CA3
Ethernet Test Run: 00001399 Passed: 00001399