Skip to content

Commit 9287252

Browse files
authored
Update Set-CsPhoneNumberAssignment.md
1 parent 1ba4147 commit 9287252

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

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

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,13 @@ to the user [email protected].
4848
```powershell
4949
Set-CsPhoneNumberAssignment -Identity [email protected] -EnterpriseVoiceEnabled $true
5050
```
51-
This example sets the EnterpriseVoiceEnabled flag on the user [email protected].
51+
This example sets the EnterpriseVoiceEnabled flag on the user [email protected].
52+
53+
### Example 4
54+
```powershell
55+
Set-CsPhoneNumberAssignment -Identity [email protected] -LocationId null
56+
```
57+
This example removes the emergency location from the user [email protected].
5258

5359

5460
## PARAMETERS
@@ -85,7 +91,8 @@ Accept wildcard characters: False
8591
```
8692
8793
### -LocationId
88-
The Id of the location to assign to the specific user. You can get it using Get-CsOnlineLisLocation
94+
The Id of the location to assign to the specific user. You can get it using Get-CsOnlineLisLocation. If you want to remove the location, use
95+
the string value null.
8996
9097
```yaml
9198
Type: System.String
@@ -99,8 +106,8 @@ Accept wildcard characters: False
99106
```
100107
101108
### -PhoneNumber
102-
The phone number to assign to the user or resource account. Supports E.164 format like +12065551234 and non-E.164 format like 12065551234. We are not currently supporting
103-
Direct Routing numbers with extensions, but you can use the Set-CsUser cmdlet for this.
109+
The phone number to assign to the user or resource account. Supports E.164 format like +12065551234 and non-E.164 format like 12065551234. We are also supporting
110+
Direct Routing numbers with extensions using the formats +1206555000;ext=1234 or 1206555000;ext=1234
104111
105112
Setting a phone number will automatically set EnterpriseVoiceEnabled to True.
106113

0 commit comments

Comments
 (0)