CmdID / PowerShell / Cmdlets / Get
Get-CsPhoneNumberPolicyAssignment
This cmdlet retrieves policy assignments associated with a specific telephone number or a list of telephone numbers in Microsoft Teams. Microsoft Teams PowerShell reference
From the Microsoft Teams PowerShell reference 4 parameters Its page in the reference
Parameters
-TelephoneNumber, -IdentitySpecifies the telephone number to query.-PolicyTypeFilters results by the type of policy assigned (e.g., TenantDialPlan, CallingLineIdentity etc.).-PolicyNameFilters results by the name of the policy.-ResultSizeLimits the number of telephone numbers returned in the results.