Skip to content

Commit be84aa7

Browse files
authored
Merge branch 'main' into patch-2
2 parents 900a198 + d0076f9 commit be84aa7

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

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

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ms.reviewer:
1414
## SYNOPSIS
1515
This cmdlet is available in on-premises Exchange and in the cloud-based service. Some parameters and settings may be exclusive to one environment or the other.
1616

17-
Use the Test-TextExtraction cmdlet to find the text that is extracted from a specified email message in Exchange flow.
17+
Use the Test-TextExtraction cmdlet to return the text from unencrypted email message files.
1818

1919
For information about the parameter sets in the Syntax section below, see [Exchange cmdlet syntax](https://learn.microsoft.com/powershell/exchange/exchange-cmdlet-syntax).
2020

@@ -29,7 +29,9 @@ Test-TextExtraction [-FileData] <Byte[]>
2929
```
3030

3131
## DESCRIPTION
32-
This cmdlet returns the text that is found in a file in Exchange. The Microsoft classification engine uses this text to classify content and determine which sensitive information types are found in this file/message.
32+
This cmdlet doesn't work on encrypted email message files.
33+
34+
The Microsoft classification engine uses the results to classify content and determine the sensitive information types in the message file.
3335

3436
You need to be assigned permissions before you can run this cmdlet. Although this topic lists all parameters for the cmdlet, you may not have access to some parameters if they're not included in the permissions assigned to you. To find the permissions required to run any cmdlet or parameter in your organization, see [Find the permissions required to run any Exchange cmdlet](https://learn.microsoft.com/powershell/exchange/find-exchange-cmdlet-permissions).
3537

@@ -42,7 +44,7 @@ $content = Test-TextExtraction -FileData ([System.IO.File]::ReadAllBytes('.\fina
4244
$content.ExtractedResults
4345
```
4446

45-
This example returns the text that's extracted from the email "financial data.msg"
47+
This example extracts the text from the email message file named "financial data.msg" that's in the same folder where you run the command, and shows the results.
4648

4749
### Example 2
4850
```powershell
@@ -51,7 +53,7 @@ $content = Test-TextExtraction -FileData ([System.IO.File]::ReadAllBytes('.\fina
5153
Test-DataClassification -TestTextExtractionResults $content.ExtractedResults
5254
```
5355

54-
This example extracts the text from the email "financial data.msg" and returns the sensitive information types, their confidence, and count.
56+
This example extracts the text from the email message file named "financial data.msg", stores the information in the variable named $content, and uses the variable with the Test-DataClassification cmdlet to return the sensitive information types, their confidence, and count.
5557

5658
## PARAMETERS
5759

0 commit comments

Comments
 (0)