Forum Discussion
What is the Powershell command to configure a new Retention Policy in the Information Governance?
To work with Retention policies in the SCC, use the New-RetentionCompliancePolicy cmdlet. That said, if you use the SCC policies, actions like excluding specific message classes are not possible, the policy will apply to all messages.
- Franck1304May 18, 2020Brass Contributor
Thanks VasilMichev ,
but in the New-RetentionCompliancePolicy I have no option to define the Settings of the Policy, e.g. how many years I want the Retention to be in place.
It seems to me that this is defined in theNew-RetentionComplianceRule.
So what is defined in a new SCC Retention Policy UI seems to be a mix of New-RetentionCompliancePolicy and New-RetentionComplianceRule?
Am I correct here?
The New-RetentionComplianceRule would give me the Option of excluding IPM classes.
Thanks,
Franck
- VasilMichevMay 18, 2020MVP
Yes, the two cmdlets go hand in hand, but technically the policy one is the "parent". I forgot about the ExcludedItemClasses parameter 🙂