Editar

Compartilhar via


Get-CsTeamsTranslationRule

Cmdlet to get an existing number manipulation rule (or list of rules).

Syntax

Get-CsTeamsTranslationRule
   [[-Identity] <string>]
   [<CommonParameters>]
Get-CsTeamsTranslationRule
   [-Filter <string>]
   [<CommonParameters>]

Description

You can use this cmdlet to get an existing number manipulation rule (or list of rules). The rule can be used, for example, in the settings of your SBC (Set-CSOnlinePSTNGateway) to convert a callee or caller number to a desired format before entering or leaving Microsoft Phone System.

Examples

Example 1

Get-CsTeamsTranslationRule

This command will show all translation rules that exist in the tenant. Identity, Name, Description, Pattern, and Translation parameters are listed for each rule.

Example 2

Get-CsTeamsTranslationRule -Identity AddPlus1

This command will show Identity, Name, Description, Pattern, and Translation parameters for the "AddPlus1" rule.

Example 3

Get-CsTeamsTranslationRule -Filter 'Add*'

This command will show Identity, Name, Description, Pattern, and Translation parameters for all rules with Identity starting with Add.

Parameters

-Filter

The filter to use against the Identity of translation rules.

Type:String
Position:named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Microsoft Teams

-Identity

Identifier of the specific translation rule to display.

Type:String
Position:1
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Microsoft Teams