Skip to content

Commit aee651a

Browse files
authored
Merge pull request #10435 from JensTrier/JensUpdates5
Update New-CsTeamsTranslationRule.md
2 parents d9e9902 + c6a6c3b commit aee651a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

skype/skype-ps/skype/New-CsTeamsTranslationRule.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,13 @@ New-CsTeamsTranslationRule -Identity 'StripE164SeattleAreaCode' -Pattern '^\+12
6767

6868
This example creates a rule that strips +1206555 from any E.164 ten digits number. For example, +12065555555 will be translated to 5555
6969

70+
### Example 6
71+
```powershell
72+
New-CsTeamsTranslationRule -Identity 'GenerateFullNumber' -Pattern '^\+1206555(\d{4})$' -Translation '+1206555$1;ext=$1'
73+
```
74+
75+
This example creates a rule that adds the last four digits of a phone number starting with +1206555 as the extension. For example, +12065551234 will be translated to +12065551234;ext=1234.
76+
7077

7178
## PARAMETERS
7279

0 commit comments

Comments
 (0)