Edit

Share via


Get-CsTeamsTranslationRule

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

Syntax

Identity (Default)

Get-CsTeamsTranslationRule
    [[-Identity] <String>]
    [-MsftInternalProcessingMode <String>]
    [<CommonParameters>]

Filter

Get-CsTeamsTranslationRule
    [-MsftInternalProcessingMode <String>]
    [-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

Applicable: Microsoft Teams

The filter to use against the Identity of translation rules.

Parameter properties

Type:System.String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

Filter
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Identity

Applicable: Microsoft Teams

Identifier of the specific translation rule to display.

Parameter properties

Type:System.String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

Identity
Position:1
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-MsftInternalProcessingMode

{{ Fill MsftInternalProcessingMode Description }}

Parameter properties

Type:System.String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.