Skip to content

Commit dd6bd29

Browse files
authored
Update New-DlpComplianceRule.md
1 parent 882cb45 commit dd6bd29

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

exchange/exchange-ps/exchange/New-DlpComplianceRule.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,9 @@ Contents of the file named C:\Data\Sensitive Type.txt:
286286
}
287287
288288
$data = Get-Content -Path "C:\Data\Sensitive Type.txt" -ReadCount 0 -encoding Byte
289+
289290
$string = [System.Text.Encoding]::UTF8.GetString($data)
291+
290292
New-DLPComplianceRule -Name "Contoso Rule 1" -Policy "Contoso Policy 1" -AdvancedRule $string -NotifyUser
291293
```
292294

0 commit comments

Comments
 (0)