Skip to content

Commit fb81986

Browse files
Merge pull request #13521 from MicrosoftDocs/main
[AutoPublish] main to live - 04/15 23:07 PDT | 04/16 11:37 IST
2 parents bf3b068 + 4366ac4 commit fb81986

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

teams/teams-ps/MicrosoftTeams/Get-CsPhoneNumberPolicyAssignment.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ PS C:\> Get-CsPhoneNumberPolicyAssignment -TelephoneNumber 17789493766
4646
```output
4747
TelephoneNumber PolicyType PolicyName Authority AssignmentType Reference
4848
--------------- ---------- ---------- --------- -------------- ---------
49-
17789493766 TenantDialPlan PolicyFoo Tenant Direct Direct
50-
17789493766 CallingLineIdentity PolicyBar Tenant Direct Direct
49+
14255551234 TenantDialPlan PolicyOne Tenant Direct Direct
50+
14255551234 CallingLineIdentity PolicyTwo Tenant Direct Direct
5151
```
5252
This example returns all policy assigned for the specified telephone number.
5353

@@ -61,9 +61,9 @@ PS C:\> Get-CsPhoneNumberPolicyAssignment
6161
```output
6262
TelephoneNumber PolicyType PolicyName Authority AssignmentType Reference
6363
--------------- ---------- ---------- --------- -------------- ---------
64-
1234567 TenantDialPlan BenTestPolicy Tenant Direct Direct
65-
17789493766 TenantDialPlan PolicyFoo Tenant Direct Direct
66-
17789493766 CallingLineIdentity PolicyBar Tenant Direct Direct
64+
1234567 TenantDialPlan TestPolicy Tenant Direct Direct
65+
14255551234 TenantDialPlan PolicyOne Tenant Direct Direct
66+
14255551234 CallingLineIdentity PolicyTwo Tenant Direct Direct
6767
```
6868
This example returns a list of all the telephone numbers in the tenant that have at least one policy assigned.
6969

@@ -76,8 +76,8 @@ PS C:\> Get-CsPhoneNumberPolicyAssignment -PolicyType TenantDialPlan
7676
```output
7777
TelephoneNumber PolicyType PolicyName Reference
7878
--------------- ---------- ---------- ---------
79-
1234567 TenantDialPlan BenTestPolicy Direct
80-
17789493766 TenantDialPlan PolicyFoo Direct
79+
1234567 TenantDialPlan TestPolicy Direct
80+
14255551234 TenantDialPlan PolicyOne Direct
8181
```
8282
This example returns a list of all the telephone numbers in tenant that have TenantDialPlan assigned.
8383

@@ -90,7 +90,7 @@ PS C:\> Get-CsPhoneNumberPolicyAssignment -PolicyType TenantDialPlan -PolicyName
9090
```output
9191
TelephoneNumber PolicyType PolicyName Reference
9292
--------------- ---------- ---------- ---------
93-
17789493766 TenantDialPlan PolicyFoo Direct
93+
14255551234 TenantDialPlan PolicyFoo Direct
9494
```
9595
This example returns the top 1 telephone number with policy assignment matching the specified type and name.
9696

teams/teams-ps/MicrosoftTeams/Set-CsPhoneNumberPolicyAssignment.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ This example assigns a policy to the specified telephone number.
4848

4949
### Example 2
5050
```powershell
51-
PS C:\> Set-CsPhoneNumberPolicyAssignment -TelephoneNumber 17789493766 -PolicyType TenantDialPlan
51+
PS C:\> Set-CsPhoneNumberPolicyAssignment -TelephoneNumber +14255551234 -PolicyType OnlineVoiceRoutingPolicy -PolicyName "Redmond Office"
5252
```
53-
This example removes an existing TenantDialPlan previously assigned to the specified telephone number.
53+
This example assigns an existing OnlineVoiceRoutingPolicy to the specified telephone number.
5454

5555

5656
## PARAMETERS

0 commit comments

Comments
 (0)