Skip to content

Commit 8737344

Browse files
authored
Fixed variable name and typos in the examples
Made the variable name the same between the two lines of the example, would not work otherwise, and also fixed the file name that had a typo.
1 parent 7eea63e commit 8737344

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

exchange/exchange-ps/exchange/Test-TextExtraction.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,16 +38,16 @@ You need to be assigned permissions before you can run this cmdlet. Although thi
3838

3939
### Example 1
4040
```powershell
41-
$content = Test-TextExtraction -FileData (Get-Content -Path '.\finalcial data.msg' -Encoding byte -ReadCount 0)
41+
$content = Test-TextExtraction -FileData (Get-Content -Path '.\financial data.msg' -Encoding byte -ReadCount 0)
4242
$content.ExtractedResults
4343
```
4444

4545
This example returns the text that's extracted from the email "financial data.msg"
4646

4747
### Example 2
4848
```powershell
49-
$content = Test-TextExtraction -FileData (Get-Content -Path '.\finalcial data.msg' -Encoding byte -ReadCount 0)
50-
Test-DataClassification -TestTextExtractionResults $tr.ExtractedResults
49+
$content = Test-TextExtraction -FileData (Get-Content -Path '.\financial data.msg' -Encoding byte -ReadCount 0)
50+
Test-DataClassification -TestTextExtractionResults $content.ExtractedResults
5151
```
5252

5353
This example extracts the text from the email "financial data.msg" and returns the sensitive information types, their confidence, and count.

0 commit comments

Comments
 (0)