Skip to content

Commit 405172e

Browse files
Merge pull request #4540 from crutkas/patch-12
Making it clear that these commands need to be run via Windows PowerShell
2 parents 1a0b2e4 + 3a75d69 commit 405172e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

hub/powertoys/text-extractor.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ Text Extractor can only recognize languages that have the OCR language pack inst
4545
The list can be obtained via PowerShell by running the following commands:
4646

4747
```powershell
48+
# Please use Windows PowerShell, not PowerShell 7 as these aren't .NET Core libraries
49+
4850
[Windows.Media.Ocr.OcrEngine, Windows.Foundation, ContentType = WindowsRuntime]
49-
```
5051
51-
```powershell
5252
[Windows.Media.Ocr.OcrEngine]::AvailableRecognizerLanguages
5353
```
5454

@@ -61,7 +61,6 @@ Get-WindowsCapability -Online | Where-Object { $_.Name -Like 'Language.OCR*' }
6161
```
6262

6363
An example output:
64-
6564
```powershell
6665
Name : Language.OCR~~~el-GR~0.0.1.0
6766
State : NotPresent

0 commit comments

Comments
 (0)