Skip to content

Commit cf3ffe3

Browse files
authored
Merge branch 'master' into patch-248
2 parents 11d6828 + 9dd46a3 commit cf3ffe3

7 files changed

+453
-58
lines changed

skype/skype-ps/skype/New-CsTeamsCallParkPolicy.md

Lines changed: 67 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ NOTE: The call park feature currently available in desktop. mobile and web clien
2323

2424
### Identity (Default)
2525
```
26-
New-CsTeamsCallParkPolicy [-Tenant <System.Guid>] [-AllowCallPark <Boolean>] [[-Identity] <XdsIdentity>]
27-
[-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
26+
New-CsTeamsCallParkPolicy [-Tenant <System.Guid>] [-AllowCallPark <Boolean>] [[-Identity] <XdsIdentity>] [-PickupRangeStart <Integer>] [-PickupRangeEnd <Integer>] [-ParkTimeoutSeconds <Integer>] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
2827
```
2928

3029
## DESCRIPTION
@@ -35,10 +34,24 @@ The TeamsCallParkPolicy controls whether or not users are able to leverage the c
3534

3635
### Example 1
3736
```powershell
38-
PS C:\> New-CsTeamsCallParkPolicy -Identity "SalesPolicy" -AllowCallPark $false
37+
PS C:\> New-CsTeamsCallParkPolicy -Identity "SalesPolicy" -AllowCallPark $true
3938
```
4039

41-
Create a new custom policy that has call park enabled. This policy can then be assigned to individual users.
40+
Create a new custom policy that has call park enabled. This policy can then be assigned to individual users.
41+
42+
### Example 2
43+
```powershell
44+
PS C:\> New-CsTeamsCallParkPolicy -Identity "SalesPolicy" -AllowCallPark $true -PickupRangeStart 500 -PickupRangeEnd 1500
45+
```
46+
47+
Create a new custom policy that has call park enabled. This policy will generate pickup numbers starting from 500 and up until 1500.
48+
49+
### Example 3
50+
```powershell
51+
PS C:\> New-CsTeamsCallParkPolicy -Identity "SalesPolicy" -AllowCallPark $true -ParkTimeoutSeconds 600
52+
```
53+
54+
Create a new custom call park policy which will ring back the parker after 600 seconds if the parked call is unanswered
4255

4356
## PARAMETERS
4457

@@ -102,6 +115,55 @@ Accept pipeline input: False
102115
Accept wildcard characters: False
103116
```
104117
118+
### -PickupRangeEnd
119+
Specify the maximum value that a rendered pickup code can take. Value can be from 10 to 9999.
120+
121+
Note: PickupRangeStart must be smaller than PickupRangeEnd.
122+
123+
```yaml
124+
Type: Integer
125+
Parameter Sets: (All)
126+
Aliases:
127+
128+
Required: False
129+
Position: Named
130+
Default value: 99
131+
Accept pipeline input: False
132+
Accept wildcard characters: False
133+
```
134+
135+
### -ParkTimeoutSeconds
136+
Specify the number of seconds to wait before ringing the parker when the parked call hasn't been picked up. Value can be from 120 to 1800 (seconds).
137+
138+
```yaml
139+
Type: Integer
140+
Parameter Sets: (All)
141+
Aliases:
142+
143+
Required: False
144+
Position: Named
145+
Default value: 300
146+
Accept pipeline input: False
147+
Accept wildcard characters: False
148+
```
149+
150+
### -PickupRangeStart
151+
Specify the minimum value that a rendered pickup code can take. Value can be from 10 to 9999.
152+
153+
Note: PickupRangeStart must be smaller than PickupRangeEnd.
154+
155+
```yaml
156+
Type: Integer
157+
Parameter Sets: (All)
158+
Aliases:
159+
160+
Required: False
161+
Position: Named
162+
Default value: 10
163+
Accept pipeline input: False
164+
Accept wildcard characters: False
165+
```
166+
105167
### -Tenant
106168
Internal Microsoft use only.
107169
@@ -133,6 +195,7 @@ Accept pipeline input: False
133195
Accept wildcard characters: False
134196
```
135197
198+
136199
### CommonParameters
137200
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
138201
For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
Lines changed: 35 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,70 @@
11
---
22
external help file: Microsoft.Rtc.Management.Hosted.dll-help.xml
33
online version: https://docs.microsoft.com/powershell/module/skype/remove-csonlinetelephonenumber
4-
applicable: Skype for Business Online
4+
applicable: Skype for Business Online, Microsoft Teams
55
title: Remove-CsOnlineTelephoneNumber
66
schema: 2.0.0
77
manager: bulenteg
8-
author: tomkau
9-
ms.author: tomkau
8+
author: jenstrier
9+
ms.author: jenstr
1010
ms.reviewer:
1111
---
1212

1313
# Remove-CsOnlineTelephoneNumber
1414

1515
## SYNOPSIS
16-
Use the `Remove-CsOnlineTelephoneNumber` cmdlet to remove a telephone number from the Business Voice Directory.
16+
Use the `Remove-CsOnlineTelephoneNumber` cmdlet to remove one or more unassigned telephone numbers from your tenant.
1717

1818
## SYNTAX
1919

2020
```
21-
Remove-CsOnlineTelephoneNumber -TelephoneNumber <String[]> [-Tenant <Guid>] [-DomainController <Fqdn>]
22-
[-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
21+
Remove-CsOnlineTelephoneNumber -TelephoneNumber <String[]> [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
2322
```
2423

2524
## DESCRIPTION
26-
Provide the detailed description here.
25+
This cmdlet removes one or more unassigned telephone numbers from your tenant. If at least one of the telephone numbers is assigned to a user or resource account, the cmdlet will fail and will not remove any of the specified telephone numbers.
2726

2827
## EXAMPLES
2928

3029
### -------------------------- Example 1 --------------------------
3130
```
32-
Remove-CsOnlineTelephoneNumber -TelephoneNumber +14258884567
31+
Remove-CsOnlineTelephoneNumber -TelephoneNumber 14258884567
32+
```
33+
```Output
34+
NumberIdsDeleted NumberIdsDeleteFailed NumberIdsNotOwnedByTenant NumberIdsManagedByServiceDesk
35+
---------------- --------------------- ------------------------- -----------------------------
36+
{14258884567} {} {} {}
37+
```
38+
39+
This example removes the specified telephone number from the tenant.
40+
41+
### -------------------------- Example 2 --------------------------
42+
```
43+
[string[]]$tns="+14255551234","+14255551233"
44+
Remove-CsOnlineTelephoneNumber -TelephoneNumber $tns
45+
```
46+
```Output
47+
NumberIdsDeleted NumberIdsDeleteFailed NumberIdsNotOwnedByTenant NumberIdsManagedByServiceDesk
48+
---------------- --------------------- ------------------------- -----------------------------
49+
{14255551234, {} {} {}
50+
14255551233}
3351
```
3452

35-
This example removes the specified telephone number from the Business Voice Directory.
53+
This example removes the specified list of telephone numbers from the tenant.
3654

3755

3856
## PARAMETERS
3957

4058
### -TelephoneNumber
41-
Specifies the target telephone number.
42-
For example: -TelephoneNumber tel:+18005551234, or -TelephoneNumber +14251234567
59+
Specifies the telephone number(s) to remove. The format can be withor without the prefixed +, but needs to include country code etc.
4360

4461
```yaml
4562
Type: String[]
4663
Parameter Sets: (All)
4764
Aliases:
48-
Applicable: Skype for Business Online
65+
Applicable: Skype for Business Online, Microsoft Teams
4966

50-
Required: False
67+
Required: True
5168
Position: Named
5269
Default value: None
5370
Accept pipeline input: False
@@ -61,23 +78,7 @@ The Confirm switch causes the command to pause processing and requires confirmat
6178
Type: SwitchParameter
6279
Parameter Sets: (All)
6380
Aliases: cf
64-
Applicable: Skype for Business Online
65-
66-
Required: False
67-
Position: Named
68-
Default value: None
69-
Accept pipeline input: False
70-
Accept wildcard characters: False
71-
```
72-
73-
### -DomainController
74-
This parameter is reserved for internal Microsoft use.
75-
76-
```yaml
77-
Type: Fqdn
78-
Parameter Sets: (All)
79-
Aliases: DC
80-
Applicable: Skype for Business Online
81+
Applicable: Skype for Business Online, Microsoft Teams
8182

8283
Required: False
8384
Position: Named
@@ -95,23 +96,7 @@ If the Force switch isn't provided in the command, you're prompted for administr
9596
Type: SwitchParameter
9697
Parameter Sets: (All)
9798
Aliases:
98-
Applicable: Skype for Business Online
99-
100-
Required: False
101-
Position: Named
102-
Default value: None
103-
Accept pipeline input: False
104-
Accept wildcard characters: False
105-
```
106-
107-
### -Tenant
108-
This parameter is reserved for internal Microsoft use.
109-
110-
```yaml
111-
Type: Guid
112-
Parameter Sets: (All)
113-
Aliases:
114-
Applicable: Skype for Business Online
99+
Applicable: Skype for Business Online, Microsoft Teams
115100

116101
Required: False
117102
Position: Named
@@ -128,7 +113,7 @@ By using this switch, you can view what changes would occur without having to co
128113
Type: SwitchParameter
129114
Parameter Sets: (All)
130115
Aliases: wi
131-
Applicable: Skype for Business Online
116+
Applicable: Skype for Business Online, Microsoft Teams
132117

133118
Required: False
134119
Position: Named
@@ -151,6 +136,7 @@ None
151136
None
152137
153138
## NOTES
139+
If one or more of the telephone numbers are assigned to a user or a service, the cmdlet will display an error message and none of the telephone numbers specified will be removed from your tenant.
154140
155141
## RELATED LINKS
156-
142+
- [Get-CsOnlineTelephoneNumber](Get-CsOnlineTelephoneNumber.md)

skype/skype-ps/skype/Set-CsTeamsCallParkPolicy.md

Lines changed: 64 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ NOTE: The call park feature currently available in desktop, mobile, and web clie
2222

2323
### Identity (Default)
2424
```
25-
Set-CsTeamsCallParkPolicy [-Tenant <System.Guid>] [-AllowCallPark <Boolean>] [[-Identity] <XdsIdentity>]
25+
Set-CsTeamsCallParkPolicy [-Tenant <System.Guid>] [-AllowCallPark <Boolean>] [-PickupRangeStart <Integer>] [-PickupRangeEnd <Integer>] [-ParkTimeoutSeconds <Integer>] [[-Identity] <XdsIdentity>]
2626
[-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
2727
```
2828

@@ -44,6 +44,20 @@ PS C:\> Set-CsTeamsCallParkPolicy -Identity SalesPolicy -AllowCallPark $true
4444

4545
Update the existing policy "SalesPolicy" to enable the call park feature.
4646

47+
### Example 2
48+
```powershell
49+
PS C:\> Set-CsTeamsCallParkPolicy -Identity "SalesPolicy" -PickupRangeStart 500 -PickupRangeEnd 1500
50+
```
51+
52+
Update the existing policy "SalesPolicy" to generate pickup numbers starting from 500 and up until 1500.
53+
54+
### Example 3
55+
```powershell
56+
PS C:\> New-CsTeamsCallParkPolicy -Identity "SalesPolicy" -ParkTimeoutSeconds 600
57+
```
58+
59+
Update the existing policy "SalesPolicy" to ring back the parker after 600 seconds if the parked call is unanswered
60+
4761
## PARAMETERS
4862

4963
### -AllowCallPark
@@ -121,6 +135,55 @@ Accept pipeline input: True (ByValue)
121135
Accept wildcard characters: False
122136
```
123137
138+
### -PickupRangeEnd
139+
Specify the maximum value that a rendered pickup code can take. Value can be from 10 to 9999.
140+
141+
Note: PickupRangeStart must be smaller than PickupRangeEnd.
142+
143+
```yaml
144+
Type: Integer
145+
Parameter Sets: (All)
146+
Aliases:
147+
148+
Required: False
149+
Position: Named
150+
Default value: 99
151+
Accept pipeline input: False
152+
Accept wildcard characters: False
153+
```
154+
155+
### -ParkTimeoutSeconds
156+
Specify the number of seconds to wait before ringing the parker when the parked call hasn't been picked up. Value can be from 120 to 1800 (seconds).
157+
158+
```yaml
159+
Type: Integer
160+
Parameter Sets: (All)
161+
Aliases:
162+
163+
Required: False
164+
Position: Named
165+
Default value: 300
166+
Accept pipeline input: False
167+
Accept wildcard characters: False
168+
```
169+
170+
### -PickupRangeStart
171+
Specify the minimum value that a rendered pickup code can take. Value can be from 10 to 9999.
172+
173+
Note: PickupRangeStart must be smaller than PickupRangeEnd.
174+
175+
```yaml
176+
Type: Integer
177+
Parameter Sets: (All)
178+
Aliases:
179+
180+
Required: False
181+
Position: Named
182+
Default value: 10
183+
Accept pipeline input: False
184+
Accept wildcard characters: False
185+
```
186+
124187
### -Tenant
125188
Internal Microsoft use only.
126189

skype/skype-ps/skype/Set-CsTeamsCallingPolicy.md

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ Use this cmdlet to update values in existing Teams Calling Policies.
2020

2121
### Identity (Default)
2222
```
23-
Set-CsTeamsCallingPolicy [-Tenant <System.Guid>] [-AllowWebPSTNCalling <Boolean>] [-SafeTransferEnabled <Object>] [-AllowCalling <Boolean>] [-AllowPrivateCalling <Boolean>] [-AllowVoicemail <String>] [-AllowCallGroups <Boolean>] [-AllowDelegation <Boolean>] [-AllowCallForwardingToUser <Boolean>] [-AllowCallForwardingToPhone <Boolean>] [-AllowCloudRecordingForCalls <Boolean>] [-PreventTollBypass <Boolean>] [-BusyOnBusyEnabledType <String>] [-MusicOnHoldEnabledType <Enum>] [-AutoAnswerEnabledType <Enum>] [[-Identity] <XdsIdentity>] [-AllowTranscriptionForCalling <Boolean>] [-Description <String>] [-LiveCaptionsEnabledTypeForCalling <String>] [-SpamFilteringEnabledType <String>] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
23+
Set-CsTeamsCallingPolicy [-Tenant <System.Guid>] [-AllowWebPSTNCalling <Boolean>] [-SafeTransferEnabled <Object>] [-AllowCalling <Boolean>] [-AllowPrivateCalling <Boolean>] [-AllowVoicemail <String>] [-AllowCallGroups <Boolean>] [-AllowDelegation <Boolean>] [-AllowCallForwardingToUser <Boolean>] [-AllowCallForwardingToPhone <Boolean>] [-AllowCloudRecordingForCalls <Boolean>] [-PreventTollBypass <Boolean>] [-AllowSIPDevicesCalling <Boolean>] [-BusyOnBusyEnabledType <String>] [-MusicOnHoldEnabledType <Enum>] [-AutoAnswerEnabledType <Enum>] [[-Identity] <XdsIdentity>] [-AllowTranscriptionForCalling <Boolean>] [-Description <String>] [-LiveCaptionsEnabledTypeForCalling <String>] [-SpamFilteringEnabledType <String>] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
2424
```
2525

2626
### Instance
2727
```
28-
Set-CsTeamsCallingPolicy [-Tenant <System.Guid>] [-AllowCalling <Boolean>] [-AllowPrivateCalling <Boolean>] [-AllowVoicemail <String>] [-AllowCallGroups <Boolean>] [-AllowDelegation <Boolean>] [-AllowCallForwardingToUser <Boolean>] [-AllowCallForwardingToPhone <Boolean>] [-AllowCloudRecordingForCalls <Boolean>] [-PreventTollBypass <Boolean>] [-BusyOnBusyEnabledType <String>] [-MusicOnHoldEnabledType <Enum>] [-AutoAnswerEnabledType <Enum>] [-Instance <PSObject>] [-AllowTranscriptionForCalling <Boolean>] [-Description <String>] [-LiveCaptionsEnabledTypeForCalling <String>] [-SpamFilteringEnabledType <String>] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
28+
Set-CsTeamsCallingPolicy [-Tenant <System.Guid>] [-AllowCalling <Boolean>] [-AllowPrivateCalling <Boolean>] [-AllowVoicemail <String>] [-AllowCallGroups <Boolean>] [-AllowDelegation <Boolean>] [-AllowCallForwardingToUser <Boolean>] [-AllowCallForwardingToPhone <Boolean>] [-AllowCloudRecordingForCalls <Boolean>] [-PreventTollBypass <Boolean>] [-AllowSIPDevicesCalling <Boolean>] [-BusyOnBusyEnabledType <String>] [-MusicOnHoldEnabledType <Enum>] [-AutoAnswerEnabledType <Enum>] [-Instance <PSObject>] [-AllowTranscriptionForCalling <Boolean>] [-Description <String>] [-LiveCaptionsEnabledTypeForCalling <String>] [-SpamFilteringEnabledType <String>] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
2929
```
3030

3131
## DESCRIPTION
@@ -297,6 +297,21 @@ Accept pipeline input: False
297297
Accept wildcard characters: False
298298
```
299299
300+
### -AllowSIPDevicesCalling
301+
Determines whether the user is allowed to use SIP device for calling on behalf of teams client.
302+
303+
```yaml
304+
Type: Boolean
305+
Parameter Sets: (All)
306+
Aliases:
307+
308+
Required: False
309+
Position: Named
310+
Default value: None
311+
Accept pipeline input: False
312+
Accept wildcard characters: False
313+
```
314+
300315
### -BusyOnBusyEnabledType
301316
Setting this parameter lets you configure how incoming calls are handled when a user is already in a call or conference or has a call placed on hold. Valid options are: Enabled, Unanswered, Disabled. When set to Enabled, new or incoming calls will be rejected with a busy signal. When set to Unanswered, the user's unanswered settings will take effect, such as routing to voicemail or forwarding to another user. Note: UserOverride option value is not available for use currently, if set it will be read as setting value to Disabled.
302317

0 commit comments

Comments
 (0)