CmdID / PowerShell / Cmdlets / New
New-CsGroupPolicyAssignment
This cmdlet is used to assign a policy to a security group or distribution list. Microsoft Teams PowerShell reference
From the Microsoft Teams PowerShell reference 7 parameters Its page in the reference
Parameters
-Confirm, -cfPrompts you for confirmation before running the cmdlet.-GroupIdThe ID of a batch policy assignment operation.-PassThruReturns true when the command succeeds-PolicyNameThe name of the policy to be assigned.-PolicyTypeThe type of policy to be assigned.-RankThe rank of the policy assignment, relative to other group policy assignments for the same policy type.-WhatIf, -wiShows what would happen if the cmdlet runs.