CmdID / PowerShell / Cmdlets / Set
Set-CsPhoneNumberSmsActivation
This cmdlet allows the admin to activate SMS capabilities for a telephone number. Microsoft Teams PowerShell reference
From the Microsoft Teams PowerShell reference 1 parameter Its page in the reference
Parameters
-TelephoneNumberIndicates the phone number for SMS to be enabled on.