CmdID

CmdID / PowerShell / Cmdlets / Grant

Grant-CsOnlineVoicemailPolicy

Assigns an online voicemail policy to a user account, to a group of users, or set the tenant Global instance. 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 executing the command.
-GlobalSets the parameters of the Global policy instance to the values in the specified policy instance.
-GroupSpecifies the group used for the group policy assignment.
-IdentityThe Identity parameter represents the ID of the specific user in your organization; this can be either a SIP address or an Object ID.
-PassThruEnables you to pass a user object through the pipeline that represents the user being assigned the policy.
-PolicyNameA unique identifier(name) of the policy.
-RankThe rank of the policy assignment, relative to other group policy assignments for the same policy type.
-WhatIf, -wiDescribes what would happen if you executed the command without actually executing the command.