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 |
Related Links
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈