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 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應