I am searching a very large amount of Word documents (5000) for a very large number of strings (3000). I know how to do this in a Powershell script, but it takes an extreme
Instead of using Word's wildcard searching why not just use a Powershell regex on all of the text in the document. Something like this:
if ($document.Content.Text -match "\b$($findText)\w+\b") { $docName = $doc.Name "$($matches[0])`t$docName" | Out-File -append $outputPath }