Skip to content

Commit ac6d555

Browse files
authored
Update Get-CsPhoneNumberAssignment.md
1 parent 5a4440c commit ac6d555

File tree

1 file changed

+27
-4
lines changed

1 file changed

+27
-4
lines changed

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

Lines changed: 27 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,20 @@ This cmdlet displays information about one or more phone numbers.
1919

2020
### Assignment (Default)
2121
```powershell
22-
Get-CsPhoneNumberAssignment [-ActivationState <string>] [-AssignedPstnTargetId <string>] [-CapabilitiesContain <string>] [-CivicAddressId <string>] [-IsoCountryCode <string>] [-LocationId <string>] [-NumberType <string>] [-PstnAssignmentStatus <string>] [-Skip <int>] [-TelephoneNumber <string>] [-TelephoneNumberContain <string>] [-TelephoneNumberGreaterThan <string>] [-TelephoneNumberLessThan <string>] [-TelephoneNumberStartsWith <string>] [-Top <int>] [<CommonParameters>]
22+
Get-CsPhoneNumberAssignment [-ActivationState <string>] [-AssignedPstnTargetId <string>] [-AssignmentCategory <string>] [-CapabilitiesContain <string>]
23+
[-CivicAddressId <string>] [-IsoCountryCode <string>] [-LocationId <string>] [-NumberType <string>]
24+
[-PstnAssignmentStatus <string>] [-Skip <int>] [-TelephoneNumber <string>] [-TelephoneNumberContain <string>]
25+
[-TelephoneNumberGreaterThan <string>] [-TelephoneNumberLessThan <string>] [-TelephoneNumberStartsWith <string>]
26+
[-Top <int>] [<CommonParameters>]
2327
```
2428

2529
## DESCRIPTION
2630
This cmdlet displays information about one or more phone numbers. You can filter the phone numbers to return by using different parameters.
2731

28-
Returned results are sorted by TelephoneNumber in ascending order.
32+
Returned results are sorted by TelephoneNumber in ascending order.
2933

3034
If you are using both -Skip X and -Top Y for filtering, the returned results will first be skipped by X, and then the top Y results will be returned.
3135

32-
3336
## EXAMPLES
3437

3538
### Example 1
@@ -41,6 +44,7 @@ TelephoneNumber : +14025551234
4144
NumberType : CallingPlan
4245
ActivationState : Activated
4346
AssignedPstnTargetId : dc13d97b-7897-494e-bc28-6b469bf7a70e
47+
AssignmentCategory : Primary
4448
Capability : {UserAssignment}
4549
City : Omaha
4650
CivicAddressId : 703b30e5-dbdd-4132-9809-4c6160a6acc7
@@ -64,6 +68,7 @@ TelephoneNumber : +12065551000;ext=524
6468
NumberType : DirectRouting
6569
ActivationState : Activated
6670
AssignedPstnTargetId : 2713551e-ed63-415d-9175-fc4ff825a0be
71+
AssignmentCategory : Primary
6772
Capability : {ConferenceAssignment, VoiceApplicationAssignment, UserAssignment}
6873
City :
6974
CivicAddressId : 00000000-0000-0000-0000-000000000000
@@ -152,6 +157,21 @@ Accept pipeline input: False
152157
Accept wildcard characters: False
153158
```
154159
160+
### -AssignmentCategory
161+
This parameter is reserved for internal Microsoft use.
162+
163+
```yaml
164+
Type: System.String
165+
Parameter Sets: (All)
166+
Aliases:
167+
Applicable: Microsoft Teams
168+
169+
Required: False
170+
Default value: None
171+
Accept pipeline input: False
172+
Accept wildcard characters: False
173+
```
174+
155175
### -CapabilitiesContain
156176
Filters the returned results based on the capabilities assigned to the phone number. You can specify one or more capabilities delimited by a comma. Supported capabilities are ConferenceAssignment, VoiceApplicationAssignment, UserAssignment, and TeamsPhoneMobile.
157177
@@ -370,6 +390,9 @@ The activation state of the telephone number.
370390
### AssignedPstnTargetId
371391
The ID of the object the phone number is assigned to.
372392
393+
### AssignmentCategory
394+
This parameter is reserved for internal Microsoft use.
395+
373396
### Capability
374397
The list of capabilities assigned to the phone number.
375398
@@ -412,7 +435,7 @@ The phone number. The number is always displayed with prefixed "+", even if it w
412435
The object returned is of type SkypeTelephoneNumberMgmtCmdletAcquiredTelephoneNumber.
413436
414437
## NOTES
415-
The cmdlet is available in Teams PowerShell module 4.0.0 or later.
438+
The cmdlet is available in Teams PowerShell module 4.0.0 or later. The parameter AssignmentCategory was introduced in Teams PowerShell module 5.3.1-preview.
416439
417440
The cmdlet is only available in commercial and GCC cloud instances.
418441

0 commit comments

Comments
 (0)