Commands › Microsoft Teams

Get-CsPhoneNumberTag

Microsoft Teams MicrosoftTeams Get-*

This cmdlet allows the admin to get a list of existing tags for telephone numbers.

Quick start script

# Get-CsPhoneNumberTag — 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-CsPhoneNumberTag | Format-List

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

Syntax

Get-CsPhoneNumberTag [<CommonParameters>]

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