CmdID / PowerShell / Cmdlets / Get
Get-CsOnlineVoicemailPolicy
Use the Get-CsOnlineVoicemailPolicy cmdlet to get a list of all pre-configured policy instances related to Cloud Voicemail service. Microsoft Teams PowerShell reference
From the Microsoft Teams PowerShell reference 2 parameters Its page in the reference
Parameters
-FilterThis parameter accepts a wildcard string and returns all voicemail policies with identities matching that string.-IdentityA unique identifier specifying the scope, and in some cases the name, of the policy.