CmdID / PowerShell / Cmdlets / New
New-RetentionPolicyTag
Use the New-RetentionPolicyTag cmdlet to create a retention tag. Exchange PowerShell reference
From the Exchange PowerShell reference 22 parameters Its page in the reference
Parameters
Show its 22 parameters
-NameThe Name parameter specifies the name of the tag.-AddressForJournalingThis parameter is reserved for internal Microsoft use.-AgeLimitForRetentionThe AgeLimitForRetention parameter specifies the age at which retention is enforced on an item.-CommentThe Comment parameter specifies a comment for the tag.-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.-IsDefaultAutoGroupPolicyTagThis parameter is reserved for internal Microsoft use.-IsDefaultModeratedRecipientsPolicyTagThis parameter is reserved for internal Microsoft use.-JournalingEnabledThis parameter is reserved for internal Microsoft use.-LabelForJournalingThis parameter is reserved for internal Microsoft use.-LocalizedCommentThe LocalizedComment parameter specifies localized comments and their languages.-LocalizedRetentionPolicyTagNameThe LocalizedRetentionPolicyTagName parameter specifies localized tag names and their languages.-ManagedFolderToUpgradeThe ManagedFolderToUpgrade parameter specifies the name of a managed folder to use as a template for a retention tag.-MessageClassThe MessageClass parameter specifies the message type to which the tag applies.-MessageFormatForJournalingThis parameter is reserved for internal Microsoft use.-MustDisplayCommentEnabledThe MustDisplayCommentEnabled parameter specifies whether the comment can be hidden.-RetentionActionThe RetentionAction parameter specifies the action for the retention policy.-RetentionEnabledThe RetentionEnabled parameter specifies whether the tag is enabled.-RetentionIdThe RetentionId parameter specifies an alternate tag ID to make sure the retention tag found on mailbox items tagged in an on-premises deployment matches the tag when the mailbox is moved to the clou…-SystemTagThe SystemTag parameter specifies that the tag is created for internal Exchange functionality.-TypeThe Type parameter specifies the type of retention tag being created.-WhatIf, -wiThe WhatIf switch shows what the command does without making any changes.