CmdID

CmdID / PowerShell / Cmdlets / Grant

Grant-CsTeamsMessagingPolicy

Assigns a teams messaging policy at the per-user scope. Microsoft Teams PowerShell reference

From the Microsoft Teams 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 Microsoft Teams PowerShell reference
-Confirm, -cfPrompts you for confirmation before running the cmdlet.
-DomainControllerThis parameter is reserved for internal Microsoft use.
-GlobalWhen you use this cmdlet without specifying a user identity, the policy applies to all users in your tenant.
-GroupSpecifies the group used for the group policy assignment.
-IdentityIndicates the Identity of the user account the policy should be assigned to.
-PassThru
-PolicyNameThe name of the custom policy that is being assigned to the user.
-RankThe rank of the policy assignment, relative to other group policy assignments for the same policy type.
-Tenant
-WhatIf, -wiShows what would happen if the cmdlet runs.