![]() ![]() This example creates a new retention rule named SeptOneYear and adds it to the existing retention policy named "Internal Company Policy". Examples Example 1 New-RetentionComplianceRule -Name SeptOneYear -Policy "Internal Company Policy" -RetentionDuration Unlimited ![]() For more information, see Permissions in the Microsoft 365 compliance center. To use this cmdlet in Security & Compliance Center PowerShell, you need to be assigned permissions. Only one rule can be added to each retention policy. The retention rule must be added to an existing retention policy using the Policy parameter. In this article Syntax New-Retention Compliance Rule Use the New-RetentionComplianceRule cmdlet to create new retention rules in the Microsoft 365 compliance center.įor information about the parameter sets in the Syntax section below, see Exchange cmdlet syntax. ![]() For more information, see Security & Compliance Center PowerShell. This cmdlet is available only in Security & Compliance Center PowerShell. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |