Skip to content

Commit 92366cd

Browse files
committed
Updating cmdlet with AssignmentCategory example
1 parent 3a26b15 commit 92366cd

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

teams/teams-ps/teams/Get-CsPhoneNumberAssignment.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ Accept wildcard characters: False
266266
```
267267
268268
### -AssignmentCategory
269-
This parameter is reserved for internal Microsoft use.
269+
This parameter is used to differentiate between Primary and Private line assignment for a user.
270270
271271
```yaml
272272
Type: System.String

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

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,10 +144,17 @@ Set-CsPhoneNumberAssignment -Identity user3@contoso.com -PhoneNumber +1206555122
144144
```
145145
This example shows how to turn off reverse number lookup (RNL) on a phone number. When RNL is set to 'SkipInternalVoip', an internal call to this phone number will not attempt to pass through internal VoIP via reverse number lookup in Microsoft Teams. Instead the call will be established through external PSTN connectivity directly. This example is only applicable for Direct Routing phone numbers.
146146

147+
### Example 12
148+
```powershell
149+
Set-CsPhoneNumberAssignment -Identity user1@contoso.com -PhoneNumber '+14255551234' -PhoneNumberType CallingPlan -AssignmentCategory Private
150+
```
151+
This example shows how to assign a private phonenumber (incoming calls only) to a user.
152+
153+
147154
## PARAMETERS
148155

149156
### -AssignmentCategory
150-
This parameter is reserved for internal Microsoft use.
157+
This parameter is used to indicate category of phone number assignment if not primary phonenumber. E.g. Private line can be assigned to a user using -AssignmentCategory Private
151158

152159
```yaml
153160
Type: System.String

0 commit comments

Comments
 (0)