There has been many questions about using tesseract of late. Here is a very basic example which works for me, along with the exact version of standalone tesseract executable and English language data used I found it some time ago at a time I thought I needed it, I do not recall from where. $ImageToReadPath = @ScriptDir & "\image.bmp"
$ResultTextPath = @ScriptDir & "\Result"
$OutPutPath = $ResultTextPath & ".txt"
$TesseractExePath = @ScriptDir & "\Tesseract.exe"