Commands › Microsoft Teams

Get-CsOnlineVoiceRoute

Microsoft Teams MicrosoftTeams Get-*

Returns information about the online voice routes configured for use in your tenant.

Quick start script

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

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

Syntax — 2 parameter sets

Identity (Default)

Get-CsOnlineVoiceRoute [[-Identity] <string>] [<CommonParameters>]

Filter

Get-CsOnlineVoiceRoute [-Filter <string>] [<CommonParameters>]

Parameters (2)

ParameterTypeRequiredWhat it controls
-Filter String This parameter filters the results of the Get operation based on the wildcard value passed to this parameter.
-Identity String A string that uniquely identifies the voice route. If no identity is provided, all voice routes for the organization are returned.

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