Skip to content

Commit 887bca5

Browse files
authored
Update Remove-CsPhoneNumberAssignment.md
1 parent fa787f7 commit 887bca5

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

teams/teams-ps/teams/Remove-CsPhoneNumberAssignment.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,15 @@ This cmdlet will remove/unassign a phone number from a user or a resource accoun
2121
## SYNTAX
2222

2323
```powershell
24-
Remove-CsPhoneNumberAssignment [[-Identity] <String> [-PhoneNumber <String>] [-PhoneNumberType <String>] [<CommonParameters>]
24+
Remove-CsPhoneNumberAssignment [[-Identity] <String> [-PhoneNumber <String>] [-PhoneNumberType <String>] [-RemoveAll] [<CommonParameters>]
2525
2626
```
2727

2828
## DESCRIPTION
2929
This cmdlet removes/unassigns a phone number from a user or resource account. The phone number continues to be available in the tenant.
3030

31+
Unassigning a phone number from a user or resource account will automatically set EnterpriseVoiceEnabled to False.
32+
3133
## EXAMPLES
3234

3335
### Example 1
@@ -36,6 +38,12 @@ Remove-CsPhoneNumberAssignment -Identity [email protected] -PhoneNumber +1206555
3638
```
3739
This example removes/unassigns the Microsoft Calling Plan phone number +1 (206) 555-1234 from the user [email protected].
3840

41+
### Example 2
42+
```powershell
43+
Remove-CsPhoneNumberAssignment -Identity [email protected] -RemoveAll
44+
```
45+
This example removes/unassigns the phone number from [email protected].
46+
3947

4048
## PARAMETERS
4149

@@ -81,6 +89,20 @@ Accept pipeline input: False
8189
Accept wildcard characters: False
8290
```
8391
92+
### -RemoveAll
93+
Unassigns the phone number from the user or resource account.
94+
95+
```yaml
96+
Type: Switch
97+
Parameter Sets: (All)
98+
Aliases:
99+
100+
Required: False
101+
Default value: None
102+
Accept pipeline input: False
103+
Accept wildcard characters: False
104+
```
105+
84106
### CommonParameters
85107
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).
86108

0 commit comments

Comments
 (0)