CmdID / PowerShell / Cmdlets / Set
Set-CsPhoneNumberAssignment
Assigns a phone number to a user or a resource account (online application instance). Microsoft Teams PowerShell reference
From the Microsoft Teams PowerShell reference 11 parameters Its page in the reference
Parameters
-AssignmentCategoryThis parameter indicates the phone number assignment category if it isn't the primary phone number.-EnterpriseVoiceEnabledFlag indicating if the user or resource account should be EnterpriseVoiceEnabled.-HttpPipelinePrependSpecifies SendAsync pipeline steps to prepend to the generated HTTP pipeline.-IdentityThe identity of the specific user or resource account.-LocationIdThe LocationId of the location to assign to the phone number.-NetworkSiteIdID of a network site.-NetworkSiteIdThis parameter is reserved for internal Microsoft use.-NotifySends an email to the Teams Phone user about the new telephone number assignment.-TelephoneNumber, -PhoneNumberThe phone number to assign to the user or resource account.-NumberType, -PhoneNumberTypeThe type of phone number to assign to the user or resource account.-ReverseNumberLookupThis parameter controls reverse number lookup (RNL) behavior for a phone number.