CmdID

CmdID / PowerShell / Cmdlets / Set

Set-RetentionPolicy

Use the Set-RetentionPolicy cmdlet to change the properties of an existing retention policy. Exchange PowerShell reference

From the Exchange PowerShell reference 10 parameters Its page in the reference

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

Parameters

10 in the Exchange PowerShell reference
-IdentityThe Identity parameter specifies the name, distinguished name (DN), or GUID of the retention policy.
-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.
-ForceThe Force switch hides warning or confirmation messages.
-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.
-NameThe Name parameter specifies a unique name for the retention policy.
-RetentionIdThe RetentionId parameter specifies the identity of the retention policy to make sure mailboxes moved between two Exchange organizations continue to have the same retention policy applied to them.
-RetentionPolicyTagLinksThe RetentionPolicyTagLinks parameter specifies the identity of retention policy tags to associate with the retention policy.
-WhatIf, -wiThe WhatIf switch shows what the command does without making any changes.