Commands › Microsoft Teams

Get-CsTeamsUnassignedNumberTreatment

Microsoft Teams MicrosoftTeams Get-*

Displays a specific or all treatments for how calls to an unassigned number range should be routed.

Quick start script

# Get-CsTeamsUnassignedNumberTreatment — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-MicrosoftTeams -CertificateThumbprint $thumb -ApplicationId $appId -TenantId $tenantId

# 2. Run and inspect
Get-CsTeamsUnassignedNumberTreatment | Format-List

# 3. Export for evidence / drift tracking
Get-CsTeamsUnassignedNumberTreatment | Export-Clixml .\CsTeamsUnassignedNumberTreatment-$(Get-Date -Format yyyyMMdd).xml

Syntax — 2 parameter sets

Identity (Default)

Get-CsTeamsUnassignedNumberTreatment [[-Identity] <String>] [-MsftInternalProcessingMode <String>]
 [<CommonParameters>]

Filter

Get-CsTeamsUnassignedNumberTreatment [-MsftInternalProcessingMode <String>] [-Filter <String>]
 [<CommonParameters>]

Parameters (3)

ParameterTypeRequiredWhat it controls
-Filter String Enables you to limit the returned data by filtering on the Identity attribute.
-Identity String The Id of the specific treatment to show.
-MsftInternalProcessingMode String {{ Fill MsftInternalProcessingMode Description }}

Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.