Skip to content

Commit 46b94c4

Browse files
committed
Update New-DlpComplianceRule.md
Example 4: typo fix and camel cased cmdlet names
1 parent b7e0da1 commit 46b94c4

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,6 @@ New-DLPComplianceRule -Name "Contoso Rule 1" -Policy "Contoso Policy 1" -Advance
305305

306306
This example uses the AdvancedRule parameter to read the following complex condition from a file: "Content contains sensitive information: "Credit card number OR Highly confidential" AND (NOT (Sender is a member of "Jane's Team" OR Recipient is "adele@contoso.com")).
307307

308-
309308
### Example 4
310309
```powershell
311310
@@ -315,12 +314,12 @@ $myEntraAppName = ""
315314
316315
$locations = "[{`"Workload`":`"Applications`",`"Location`":`"$myEntraAppId`",`"LocationDisplayName`":`"$myEntraAppName`",`"LocationSource`":`"Entra`",`"LocationType`":`"Individual`",`"Inclusions`":[{`"Type`":`"Tenant`",`"Identity`":`"All`"}]}]"
317316
318-
new-dlpcompliancepolicy -Name "Test Entra DLP" -Mode Enable -Locations $locations -EnforecementPlanes @("Entra")
317+
New-DlpCompliancePolicy -Name "Test Entra DLP" -Mode Enable -Locations $locations -EnforcementPlanes @("Entra")
319318
320-
new-dlpcompliancerule -Name "Test Entra Rule" -Policy "Test Entra DLP" -ContentContainsSensitiveInformation @{Name = "credit card number"} -GenerateAlert $true -GenerateIncidentReport @("siteadmin") -NotifyUser @("admin@contonso.onmicrosoft.com") -RestrictAccess @(@{setting="UploadText";value="Block"})
319+
New-DlpComplianceRule -Name "Test Entra Rule" -Policy "Test Entra DLP" -ContentContainsSensitiveInformation @{Name = "credit card number"} -GenerateAlert $true -GenerateIncidentReport @("siteadmin") -NotifyUser @("admin@contonso.onmicrosoft.com") -RestrictAccess @(@{setting="UploadText";value="Block"})
321320
```
322321

323-
This is an example of applying a CCSI based DLP rule that should be handled by an entra-registered enterprise application in the tenant
322+
This is an example of applying a CCSI-based DLP rule that should be handled by an entra-registered enterprise application in the organization.
324323

325324
## PARAMETERS
326325

0 commit comments

Comments
 (0)