diff --git a/teams/teams-ps/MicrosoftTeams/Get-CsPhoneNumberPolicyAssignment.md b/teams/teams-ps/MicrosoftTeams/Get-CsPhoneNumberPolicyAssignment.md index bebc13364f..edf83e2049 100644 --- a/teams/teams-ps/MicrosoftTeams/Get-CsPhoneNumberPolicyAssignment.md +++ b/teams/teams-ps/MicrosoftTeams/Get-CsPhoneNumberPolicyAssignment.md @@ -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. @@ -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. @@ -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. @@ -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. diff --git a/teams/teams-ps/MicrosoftTeams/Set-CsPhoneNumberPolicyAssignment.md b/teams/teams-ps/MicrosoftTeams/Set-CsPhoneNumberPolicyAssignment.md index 0df66410e3..54292e6e1d 100644 --- a/teams/teams-ps/MicrosoftTeams/Set-CsPhoneNumberPolicyAssignment.md +++ b/teams/teams-ps/MicrosoftTeams/Set-CsPhoneNumberPolicyAssignment.md @@ -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