Skip to content

Commit 332e331

Browse files
committed
change destroy to purge in example 5
1 parent f75f5e0 commit 332e331

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exchange/exchange-ps/exchange/policy-and-compliance-content-search/New-ComplianceSecurityFilter.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ This example requires you to connect to Security & Compliance Center PowerShell
6060

6161
### Example 5
6262
```
63-
$DG = Get-DistributionGroup "Executive Team"; New-ComplianceSecurityFilter -FilterName NoExecutivesPreview -Users all -Filters "Mailbox_MemberOfGroup -ne '$($DG.DistinguishedName)'" -Action Destroy
63+
$DG = Get-DistributionGroup "Executive Team"; New-ComplianceSecurityFilter -FilterName NoExecutivesPreview -Users all -Filters "Mailbox_MemberOfGroup -ne '$($DG.DistinguishedName)'" -Action Purge
6464
```
6565

6666
This example prevents any user from deleting content from the mailboxes of members of the Executive Team distribution group.

0 commit comments

Comments
 (0)