Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ PS C:\> Get-CsPhoneNumberPolicyAssignment -TelephoneNumber 17789493766
```output
TelephoneNumber PolicyType PolicyName Authority AssignmentType Reference
--------------- ---------- ---------- --------- -------------- ---------
17789493766 TenantDialPlan PolicyFoo Tenant Direct Direct
17789493766 CallingLineIdentity PolicyBar Tenant Direct Direct
14255551234 TenantDialPlan PolicyOne Tenant Direct Direct
14255551234 CallingLineIdentity PolicyTwo Tenant Direct Direct
```
This example returns all policy assigned for the specified telephone number.

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

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

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ This example assigns a policy to the specified telephone number.

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


## PARAMETERS
Expand Down
Loading