Skip to content

Commit f56d870

Browse files
author
Gilberth Arce
committed
Cmdlet Docu
1 parent 8ef916b commit f56d870

File tree

2 files changed

+52
-3
lines changed

2 files changed

+52
-3
lines changed

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

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Use the Get-CsEffectiveTenantDialPlan cmdlet to retrieve an effective tenant dia
1919
## SYNTAX
2020

2121
```
22-
Get-CsEffectiveTenantDialPlan [-Identity] <UserIdParameter> [-OU <OUIdParameter>] [-ResultSize <Int32>] [-WhatIf] [-Confirm] [<CommonParameters>]
22+
Get-CsEffectiveTenantDialPlan [-Identity] <UserIdParameter> [-CallerNumber] <CallerNumber> [-OU <OUIdParameter>] [-ResultSize <Int32>] [-WhatIf] [-Confirm] [<CommonParameters>]
2323
```
2424

2525
## DESCRIPTION
@@ -36,6 +36,14 @@ Get-CsEffectiveTenantDialPlan -Identity Vt1_User1
3636

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

39+
### -------------------------- Example 2 --------------------------
40+
```
41+
Get-CsEffectiveTenantDialPlan -Identity Vt1_User1 -CallerNumber 1234567890
42+
```
43+
44+
This example gets the effective tenant dial plan assigned to the phone number 1234567890 for the Vt1_User1.
45+
46+
3947
## PARAMETERS
4048

4149
### -Confirm
@@ -74,6 +82,24 @@ Accept pipeline input: False
7482
Accept wildcard characters: False
7583
```
7684
85+
### -CallerNumber
86+
87+
> Applicable: Microsoft Teams
88+
89+
The Caller Number parameter is the phone number assigned to the user for whom to retrieve the effective tenant dial plan.
90+
91+
```yaml
92+
Type: PhoneNumber
93+
Parameter Sets: (All)
94+
Aliases:
95+
96+
Required: False
97+
Position: Named
98+
Default value: None
99+
Accept pipeline input: False
100+
Accept wildcard characters: False
101+
```
102+
77103
### -OU
78104
79105
> Applicable: Microsoft Teams

teams/teams-ps/MicrosoftTeams/Test-CsEffectiveTenantDialPlan.md

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ Use the Test-CsEffectiveTenantDialPlan cmdlet to test a tenant dial plan.
2121

2222
### Identity
2323
```
24-
Test-CsEffectiveTenantDialPlan [-DialedNumber <PhoneNumber>] [-Identity <UserIdParameter>] [-TenantScopeOnly]
24+
Test-CsEffectiveTenantDialPlan [-DialedNumber <PhoneNumber>] [-CallerNumber <CallerNumber>] [-Identity <UserIdParameter>] [-TenantScopeOnly]
2525
[-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
2626
```
2727

2828
### EffectiveTDPName
2929
```
30-
Test-CsEffectiveTenantDialPlan -DialedNumber <PhoneNumber> [-EffectiveTenantDialPlanName <String>]
30+
Test-CsEffectiveTenantDialPlan -DialedNumber <PhoneNumber> [-CallerNumber <CallerNumber>] [-EffectiveTenantDialPlanName <String>]
3131
[-TenantScopeOnly] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
3232
```
3333

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

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

53+
### -------------------------- Example 3 --------------------------
54+
```
55+
Get-CsEffectiveTenantDialPlan -Identity adelev | Test-CsEffectiveTenantDialPlan -DialedNumber 14258828080 -CallerNumber 1234567890
56+
```
57+
58+
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.
59+
5360
## PARAMETERS
5461

5562
### -Confirm
@@ -88,6 +95,22 @@ Accept pipeline input: False
8895
Accept wildcard characters: False
8996
```
9097
98+
### -CallerNumber
99+
The CallerNumber parameter is the phone number assigned to the user, used to identify which effective tenant dial plan to use.
100+
101+
```yaml
102+
Type: PhoneNumber
103+
Parameter Sets: (All)
104+
Aliases:
105+
Applicable: Skype for Business Online
106+
107+
Required: False
108+
Position: Named
109+
Default value: None
110+
Accept pipeline input: False
111+
Accept wildcard characters: False
112+
```
113+
91114
### -EffectiveTenantDialPlanName
92115
93116
> Applicable: Microsoft Teams

0 commit comments

Comments
 (0)