[This is preliminary documentation and is subject to change. Blank topics are included as placeholders.]

Retrieves one or more trunk configurations, which define the relationship between a Mediation Server and a Service Provider.


Get-CsTrunkConfiguration [-Identity <XdsIdentity>] [-LocalStore <SwitchParameter>]
Get-CsTrunkConfiguration [-Filter <String>] [-LocalStore <SwitchParameter>]


Parameter Required Type Description




The unique identifier of the trunk configuration you want to retrieve.




This parameter accepts a wildcard string and returns all trunk configurations with identities matching that string. For example, a Filter value of site:* will return all trunk configurations defined at the site level.




Retrieves the trunk configuration from the local replica of the Central Management database, rather than the Central Management database itself.

Detailed Description

Use this cmdlet to retrieve one or more trunking configurations for a Mediation Server. Each configuration contains specific settings defining the relationship and capabilities between the Mediation Server and the public switched telephone network (PSTN) Gateway, IP-PBX, or Session Border Controller (SBC) at the Service Provider. These settings configure such things as whether media bypass is enabled on this trunk, whether RTCP packets are sent under certain conditions, and whether to require secure real-time protocol (SRTP) encryption.

Return Types

This cmdlet returns an object of type Microsoft.Rtc.Management.WritableConfig.Settings.TrunkConfiguration.TrunkConfiguration.


-------------------------- Example 1 ------------------------

Copy Code

This example retrieves all trunk configurations for the Microsoft Communications Server 2010 deployment.

-------------------------- Example 2 ------------------------

Copy Code
Get-CsTrunkConfiguration -Identity site:Redmond

This example retrieves the trunk configuration with the Identity site:Redmond. Because identities are unique this command will return at most one object.

-------------------------- Example 3 ------------------------

Copy Code
Get-CsTrunkConfiguration -Filter site:*

Example 3 retrieves all trunk configurations defined at the site level. The Get-CsTrunkConfiguration cmdlet uses the Filter parameter to retrieve all trunk configurations with an Identity beginning with site:, meaning all trunk configurations defined at the site level.