File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
exchange/exchange-ps/exchange/policy-and-compliance-content-search Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ This example requires you to connect to Security & Compliance Center PowerShell
60
60
61
61
### Example 5
62
62
```
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
64
64
```
65
65
66
66
This example prevents any user from deleting content from the mailboxes of members of the Executive Team distribution group.
You can’t perform that action at this time.
0 commit comments