I would like to search for more than one strings of the files in directory however the select-string -pattern didn't help. Could anyone show me how to do it. Example: Search all files in C:\Logs that contains the words VendorEnquiry and Failed and Logtime about 11:30 am. Structure of files may different e.g different tag names etc..
eg. ..<methodException>VendorEnquiry</methodException> ... <logTime>13/10/2010T11:30:04 am</logTime> ...
<status>Failed</status>
eg. ..<serviceMethodException>VendorEnquiry</serviceMethodException> ... <logTime>13/10/2010</logTime> ...<serviceStatus>Failed</serviceStatus>
Thanks.