Skip to content
Open
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
28 changes: 27 additions & 1 deletion teams/teams-ps/MicrosoftTeams/Get-CsEffectiveTenantDialPlan.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Use the Get-CsEffectiveTenantDialPlan cmdlet to retrieve an effective tenant dia
## SYNTAX

```
Get-CsEffectiveTenantDialPlan [-Identity] <UserIdParameter> [-OU <OUIdParameter>] [-ResultSize <Int32>] [-WhatIf] [-Confirm] [<CommonParameters>]
Get-CsEffectiveTenantDialPlan [-Identity] <UserIdParameter> [-CallerNumber] <CallerNumber> [-OU <OUIdParameter>] [-ResultSize <Int32>] [-WhatIf] [-Confirm] [<CommonParameters>]
```

## DESCRIPTION
Expand All @@ -36,6 +36,14 @@ Get-CsEffectiveTenantDialPlan -Identity Vt1_User1

This example gets the effective tenant dial plan for the Vt1_User1.

### -------------------------- Example 2 --------------------------
```
Get-CsEffectiveTenantDialPlan -Identity Vt1_User1 -CallerNumber 1234567890
```

This example gets the effective tenant dial plan assigned to the phone number 1234567890 for the Vt1_User1.


## PARAMETERS

### -Confirm
Expand Down Expand Up @@ -74,6 +82,24 @@ Accept pipeline input: False
Accept wildcard characters: False
```

### -CallerNumber

> Applicable: Microsoft Teams

The Caller Number parameter is the phone number assigned to the user for whom to retrieve the effective tenant dial plan.

```yaml
Type: PhoneNumber
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -OU

> Applicable: Microsoft Teams
Expand Down
27 changes: 25 additions & 2 deletions teams/teams-ps/MicrosoftTeams/Test-CsEffectiveTenantDialPlan.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ Use the Test-CsEffectiveTenantDialPlan cmdlet to test a tenant dial plan.

### Identity
```
Test-CsEffectiveTenantDialPlan [-DialedNumber <PhoneNumber>] [-Identity <UserIdParameter>] [-TenantScopeOnly]
Test-CsEffectiveTenantDialPlan [-DialedNumber <PhoneNumber>] [-CallerNumber <CallerNumber>] [-Identity <UserIdParameter>] [-TenantScopeOnly]
[-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
```

### EffectiveTDPName
```
Test-CsEffectiveTenantDialPlan -DialedNumber <PhoneNumber> [-EffectiveTenantDialPlanName <String>]
Test-CsEffectiveTenantDialPlan -DialedNumber <PhoneNumber> [-CallerNumber <CallerNumber>] [-EffectiveTenantDialPlanName <String>]
[-TenantScopeOnly] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
```

Expand All @@ -50,6 +50,13 @@ Test-CsEffectiveTenantDialPlan -DialedNumber 14258828080 -Identity adelev@contos

This example tests the given dialed number against a specific identity.

### -------------------------- Example 3 --------------------------
```
Get-CsEffectiveTenantDialPlan -Identity adelev | Test-CsEffectiveTenantDialPlan -DialedNumber 14258828080 -CallerNumber 1234567890
```

This example gets the Identity of a dial plan that is associated with the identity of an user, and applies the retrieved tenant dial plan specific to the phone number which will be used as the caller number to normalize the dialed number.

## PARAMETERS

### -Confirm
Expand Down Expand Up @@ -88,6 +95,22 @@ Accept pipeline input: False
Accept wildcard characters: False
```

### -CallerNumber
The CallerNumber parameter is the phone number assigned to the user, used to identify which effective tenant dial plan to use.

```yaml
Type: PhoneNumber
Parameter Sets: (All)
Aliases:
Applicable: Skype for Business Online

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -EffectiveTenantDialPlanName

> Applicable: Microsoft Teams
Expand Down