Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

Get-CsOutboundTranslationRule

 

Topic Last Modified: 2013-02-22

Retrieves one or more outbound translation rules. An outbound translation rule converts phone numbers to the local dialing format for interaction with private branch exchange (PBX) systems and public switched telephone network (PSTN) gateways. This cmdlet was introduced in Lync Server 2010.

Get-CsOutboundTranslationRule [-Identity <XdsIdentity>] <COMMON PARAMETERS>
Get-CsOutboundTranslationRule [-Filter <String>] <COMMON PARAMETERS>
COMMON PARAMETERS: [-LocalStore <SwitchParameter>]

This example retrieves all outbound translation rules for the Lync Server deployment.

Get-CsOutboundTranslationRule

This example retrieves a single outbound translation rule: the rule with Identity site:Redmond/Prefix Redmond.

Get-CsOutboundTranslationRule -Identity "site:Redmond/Prefix Redmond"

This example retrieves all site-level outbound translation rules. The command calls the Get-CsOutboundTranslationRule cmdlet with a Filter of site:*, which will return a collection of all rules with Identity values beginning with the string site:.

Get-CsOutboundTranslationRule -Filter site:*

Call this cmdlet to retrieve an existing outbound translation rule. Lync Server normalizes phone numbers to E.164 format. However, many private branch exchange (PBX) systems aren’t able to work with this format. Outbound translations rules translate the number to the local dialing format prior to sending the number to the Mediation Server or gateway.

Each outbound translation rule is associated with a trunk configuration. More than one outbound translation rule can be associated with each trunk configuration. Therefore, the Identity for each rule consists of a scope along with a name that is unique within the scope (in the format scope/name, for example site:Redmond/OBR1). The rule is automatically associated with the trunk configuration with the same scope.

Who can run this cmdlet: By default, members of the following groups are authorized to run the Get-CsOutboundTranslationRule cmdlet locally: RTCUniversalUserAdmins, RTCUniversalServerAdmins. To return a list of all the role-based access control (RBAC) roles this cmdlet has been assigned to (including any custom RBAC roles you have created yourself), run the following command from the Windows PowerShell prompt:

Get-CsAdminRole | Where-Object {$_.Cmdlets –match "Get-CsOutboundTranslationRule"}

 

Parameter Required Type Description

Filter

Optional

System.String

Performs a wildcard search on Identity that allows you to narrow down your results to only those outbound translation rules whose identities match the given wildcard string.

Identity

Optional

Microsoft.Rtc.Management.Xds.XdsIdentity

The unique identifier for the outbound translation rule you want to retrieve. The Identity consists of the scope followed by a unique name within each scope (for example, site:Redmond/OutboundRule1). Specifying a value for Identity will return at most one outbound translation rule.

LocalStore

Optional

System.Management.Automation.SwitchParameter

Retrieves the outbound translation rule from the local replica of the Central Management store, rather than the Central Management store itself.

This cmdlet retrieves one or more objects of type Microsoft.Rtc.Management.WritableConfig.Settings.TrunkConfiguration.TranslationRule.

 
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.