Skip to content

Commit 941653c

Browse files
authored
Merge pull request MicrosoftDocs#8834 from JensTrier/DeprecatedPhoneNumberCmdlets
Update phone number assignment cmdlets
2 parents b506fc7 + 8882ef3 commit 941653c

File tree

6 files changed

+27
-7
lines changed

6 files changed

+27
-7
lines changed

skype/skype-ps/skype/New-CsOnlineBulkAssignmentInput.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ ms.reviewer:
1515
## SYNOPSIS
1616
Provide the topic introduction here.
1717

18+
**Note**: This cmdlet will be deprecated.
19+
1820
## SYNTAX
1921

2022
```

skype/skype-ps/skype/Set-CsOnlineApplicationInstance.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ applicable: Skype for Business Online
55
title: Set-CsOnlineApplicationInstance
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

@@ -15,6 +15,8 @@ ms.reviewer:
1515
## SYNOPSIS
1616
Updates an application instance in Azure Active Directory.
1717

18+
**Note**: This cmdlet will be deprecated. Use the new [Set-CsPhoneNumberAssignment](/powershell/module/teams/set-csphonenumberassignment) cmdlet instead.
19+
1820
## SYNTAX
1921

2022
```

skype/skype-ps/skype/Set-CsOnlineVoiceApplicationInstance.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,18 @@ title: Set-CsOnlineVoiceApplicationInstance
66
ms.reviewer:
77
schema: 2.0.0
88
manager: bulenteg
9-
ms.author: tomkau
10-
author: tomkau
9+
author: jenstrier
10+
ms.author: jenstr
1111
---
1212

1313
# Set-CsOnlineVoiceApplicationInstance
1414

1515
## SYNOPSIS
1616
The `Set-CsOnlineVoiceApplicationInstance` modifies an application instance in Azure Active Directory.
1717

18+
**Note**: This cmdlet will be deprecated. Use the new [Set-CsPhoneNumberAssignment](/powershell/module/teams/set-csphonenumberassignment) cmdlet instead.
19+
20+
1821
## SYNTAX
1922
```
2023
Set-CsOnlineVoiceApplicationInstance [-WhatIf] [-Confirm] [-TelephoneNumber <String>] [[-Identity] <String>]

skype/skype-ps/skype/Set-CsOnlineVoiceUser.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ applicable: Skype for Business Online
55
title: Set-CsOnlineVoiceUser
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

@@ -15,6 +15,8 @@ ms.reviewer:
1515
## SYNOPSIS
1616
Use the `Set-CsOnlineVoiceUser` cmdlet to set the PSTN specific parameters (like telephone numbers and emergency response locations.)
1717

18+
**Note**: This cmdlet will be deprecated. Use the new [Set-CsPhoneNumberAssignment](/powershell/module/teams/set-csphonenumberassignment) cmdlet instead.
19+
1820
## SYNTAX
1921

2022
```

skype/skype-ps/skype/Set-CsUser.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ Modifies Skype for Business properties for an existing user account.
1717
Properties can be modified only for accounts that have been enabled for use with Skype for Business.
1818
This cmdlet was introduced in Lync Server 2010.
1919

20+
**Note**: Using this cmdlet for Microsoft Teams users will be deprecated. Use the new [Set-CsPhoneNumberAssignment](/powershell/module/teams/set-csphonenumberassignment) cmdlet instead.
2021

2122
## SYNTAX
2223

@@ -158,6 +159,7 @@ Accept wildcard characters: False
158159
Indicates whether the user has been enabled for Enterprise Voice, which is the Microsoft implementation of Voice over Internet Protocol (VoIP).
159160
With Enterprise Voice, users can make telephone calls using the Internet rather than using the standard telephone network.
160161

162+
**Note**: Using this parameter for Microsoft Teams users will be deprecated. Use the new [Set-CsPhoneNumberAssignment](/powershell/module/teams/set-csphonenumberassignment) cmdlet instead.
161163

162164
```yaml
163165
Type: Boolean
@@ -176,6 +178,7 @@ Accept wildcard characters: False
176178
When set to True, enables a user's voice mail calls to be routed to a hosted version of Microsoft Exchange Server.
177179
In addition, setting this option to True enables Skype for Business users to directly place a call to another user's voice mail.
178180

181+
**Note**: Using this parameter will be deprecated for Teams users and it is not required anymore to set it for Microsoft Teams users.
179182

180183
```yaml
181184
Type: Boolean
@@ -407,6 +410,8 @@ Depending on your setup, those two numbers could actually be different.
407410
For example, in some organizations dialing 1-425-555-1297 routes your call to an Exchange Auto Attendant.
408411
Conversely, dialing just the extension (51297) or using Skype for Business to dial the number 1-425-555-1297 extension 51297 will route your call directly to the user.
409412

413+
**Note**: Using this parameter for Microsoft Teams users will be deprecated. Use the new [Set-CsPhoneNumberAssignment](/powershell/module/teams/set-csphonenumberassignment) cmdlet instead.
414+
410415
```yaml
411416
Type: String
412417
Parameter Sets: (All)

teams/teams-ps/teams/Set-CsPhoneNumberAssignment.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Set-CsPhoneNumberAssignment -Identity <String> -PhoneNumber <String> -PhoneNumbe
2727

2828
### Attribute
2929
```powershell
30-
Set-CsPhoneNumberAssignment -Identity <String> -EnterpriseVoice <Boolean> [<CommonParameters>]
30+
Set-CsPhoneNumberAssignment -Identity <String> -EnterpriseVoiceEnabled <Boolean> [<CommonParameters>]
3131
```
3232

3333
## DESCRIPTION
@@ -61,6 +61,12 @@ Set-CsPhoneNumberAssignment -Identity [email protected] -LocationId null -PhoneN
6161
```
6262
This example removes the emergency location from the phone number for user [email protected].
6363

64+
### Example 5
65+
```powershell
66+
Set-CsPhoneNumberAssignment -Identity [email protected] -PhoneNumber +14255551225 -PhoneNumberType DirectRouting
67+
```
68+
This example assigns the Direct Routing phone number +1 (425) 555-1225 to the resource account [email protected].
69+
6470

6571
## PARAMETERS
6672

0 commit comments

Comments
 (0)