CmdID

CmdID / PowerShell / Cmdlets / Grant

Grant-CsTeamsMobilityPolicy

The TeamsMobilityPolicy allows Admins to control Teams mobile usage for users. Microsoft Teams PowerShell reference

From the Microsoft Teams PowerShell reference 8 parameters Its page in the reference

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

Parameters

8 in the Microsoft Teams PowerShell reference
-Confirm, -cfPrompts you for confirmation before running the cmdlet.
-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.
-IdentityThe User Id of the user to whom the policy is being assigned.
-PassThruEnables you to pass a user object through the pipeline that represents the user account being assigned the Teams call hold policy.
-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.
-WhatIf, -wiShows what would happen if the cmdlet runs.