Forum Discussion
JFM_12
Oct 23, 2025Iron Contributor
Overview where a SBC is used
Hello
Is there a Powershell to see where a SBC is used in the Voice Routings and other configurations.
Thank you
JFM_12
2 Replies
- Nivedipa-MSFT
Microsoft
JFM_12 - Could you please confirm if your issue resolved with above information or are you still looking for additional information?
- Nivedipa-MSFT
Microsoft
@JFM_12 - Thanks for bringing this issue to our attention.
Yes, you can use Microsoft Teams PowerShell to find where a Session Border Controller (SBC) is used in Voice Routing and other Direct Routing configurations.
Here are some useful PowerShell commands:
- List all SBCs registered in Teams:
Get-CsOnlinePSTNGateway - Find Voice Routes using a specific SBC:
Replace <SBCFqdn> with your SBC’s FQDN.Get-CsOnlineVoiceRoute | Where-Object { $_.PstnGatewayList -contains "<SBCFqdn>" } - List all Voice Routes and their associated SBCs:
Get-CsOnlineVoiceRoute | Select-Object Name, PstnGatewayList - Find Voice Routing Policies using a specific Voice Route:
Replace <VoiceRouteName> with the route name found above.Get-CsOnlineVoiceRoutingPolicy | Where-Object { $_.OnlineVoiceRoutes -contains "<VoiceRouteName>" } - List all PSTN Usages and their associated Voice Routes:
Get-CsOnlinePstnUsage
References:
1. Get-CsOnlinePSTNGateway (MicrosoftTeams) | Microsoft Learn
2. Configure call routing for Direct Routing - Microsoft Teams | Microsoft Learn - List all SBCs registered in Teams: