CmdID / PowerShell / Cmdlets / Set
Set-CsTenantBlockedCallingNumbers
Use the Set-CsTenantBlockedCallingNumbers cmdlet to set tenant blocked calling numbers setting. Microsoft Teams PowerShell reference
From the Microsoft Teams PowerShell reference 10 parameters Its page in the reference
Parameters
-Confirm, -cfPrompts you for confirmation before running the cmdlet.-EnabledThe switch to turn on or turn off the blocked calling numbers setting.-ForceThe Force switch overrides the confirmation prompt displayed.-IdentityThe Identity parameter is a unique identifier which identifies the TenantBlockedCallingNumbers to set.-InboundBlockedNumberPatternsThe InboundBlockedNumberPatterns parameter contains the list of InboundBlockedNumberPatterns.-InboundExemptNumberPatternsThe InboundExemptNumberPatterns parameter contains the list of InboundExemptNumberPatterns.-InstanceAllows you to pass a reference to an object to the cmdlet.-NameThis parameter allows you to provide a name to the TenantBlockedCallingNumbers setting.-TenantThis parameter is reserved for internal Microsoft use.-WhatIf, -wiShows what would happen if the cmdlet runs.