CmdID / PowerShell / Cmdlets / New
New-RetentionPolicy
Use the New-RetentionPolicy cmdlet to create a retention policy. Exchange PowerShell reference
From the Exchange PowerShell reference 8 parameters Its page in the reference
Parameters
-NameThe Name parameter specifies the policy name.-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.-DomainControllerThe DomainController parameter specifies the domain controller that's used by this cmdlet to read data from or write data to Active Directory.-IsDefaultThe IsDefault switch specifies that this retention policy is the default retention policy.-IsDefaultArbitrationMailboxThe IsDefaultArbitrationMailbox switch configures this policy as the default retention policy for arbitration mailboxes in your Exchange Online organization.-RetentionIdThe RetentionId parameter specifies the identity of the retention policy to ensure mailboxes moved from an on-premises Exchange deployment to the cloud continue to have the same retention policy appl…-RetentionPolicyTagLinksThe RetentionPolicyTagLinks parameter specifies the names of retention policy tags to be associated with this policy.-WhatIf, -wiThe WhatIf switch shows what the command does without making any changes.