@@ -82,6 +82,7 @@ PstnPartnerId : 7fc2f2eb-89aa-41d7-93de-73d015d22ff0
82
82
PstnPartnerName : Microsoft
83
83
NumberSource : Online
84
84
ReverseNumberLookup : {}
85
+ Tag : {}
85
86
```
86
87
This example displays information about the Microsoft Calling Plan subscriber phone number +1 (402) 555-1234. You can see that it is assigned to a user.
87
88
@@ -110,6 +111,7 @@ PstnPartnerId :
110
111
PstnPartnerName :
111
112
NumberSource : OnPremises
112
113
ReverseNumberLookup : {}
114
+ Tag : {}
113
115
```
114
116
This example displays information about the Direct Routing phone number +1 (206) 555-1000;ext=524. You can see that it is assigned to a user.
115
117
@@ -161,7 +163,7 @@ Get-CsPhoneNumberAssignment -TelephoneNumber "+12065551000;ext=524"
161
163
```
162
164
``` output
163
165
TelephoneNumber : +12065551000;ext=524
164
- OperatorId : 83d289bc-a4d3-41e6-8a3f-cff260a3f091
166
+ OperatorId : 83d289bc-a4d3-41e6-8a3f-cff260a6f091
165
167
NumberType : DirectRouting
166
168
ActivationState : Activated
167
169
AssignedPstnTargetId : 2713551e-ed63-415d-9175-fc4ff825a0be
@@ -180,6 +182,7 @@ PstnPartnerId :
180
182
PstnPartnerName :
181
183
NumberSource : OnPremises
182
184
ReverseNumberLookup : {SkipInternalVoip}
185
+ Tag : {}
183
186
```
184
187
This example displays when SkipInternalVoip option is turned on for a number.
185
188
@@ -208,6 +211,7 @@ PstnPartnerId :
208
211
PstnPartnerName :
209
212
NumberSource : OnPremises
210
213
ReverseNumberLookup : {}
214
+ Tag : {}
211
215
```
212
216
This example shows a way to use -Filter parameter to display information of a specific number.
213
217
@@ -217,7 +221,7 @@ Get-CsPhoneNumberAssignment -Filter "TelephoneNumber -like '+12065551000' -and N
217
221
```
218
222
``` output
219
223
TelephoneNumber : +12065551000
220
- OperatorId : 83d289bc-a4d3-41e6-8a3f-cff260a3f091
224
+ OperatorId : 83d289bc-a4d3-41e6-8a3f-cff260a3f591
221
225
NumberType : DirectRouting
222
226
ActivationState : Activated
223
227
AssignedPstnTargetId : 2713551e-ed63-415d-9175-fc4ff825a0be
@@ -236,9 +240,39 @@ PstnPartnerId :
236
240
PstnPartnerName :
237
241
NumberSource : OnPremises
238
242
ReverseNumberLookup : {}
243
+ Tag : {}
239
244
```
240
245
This example shows a way to get filtered results using multiple Filter parameters.
241
246
247
+ ### Example 13
248
+ ``` powershell
249
+ Get-CsPhoneNumberAssignment -Filter "Tags -contains ['Engineering']"
250
+ ```
251
+ ``` output
252
+ TelephoneNumber : +12065551102
253
+ OperatorId : 83d289bc-a4d3-41e6-8a3f-cff260a3f071
254
+ NumberType : DirectRouting
255
+ ActivationState : Activated
256
+ AssignedPstnTargetId : 2713551e-ed63-415d-9175-fc4ff825a0be
257
+ AssignmentCategory : Primary
258
+ Capability : {ConferenceAssignment, VoiceApplicationAssignment, UserAssignment}
259
+ City :
260
+ CivicAddressId : 00000000-0000-0000-0000-000000000000
261
+ IsoCountryCode :
262
+ IsoSubdivision :
263
+ LocationId : 00000000-0000-0000-0000-000000000000
264
+ LocationUpdateSupported : True
265
+ NetworkSiteId :
266
+ PortInOrderStatus :
267
+ PstnAssignmentStatus : UserAssigned
268
+ PstnPartnerId :
269
+ PstnPartnerName :
270
+ NumberSource : OnPremises
271
+ ReverseNumberLookup : {}
272
+ Tag : {Engineering}
273
+ ```
274
+ This example shows a way to get filtered results using tags. Tags are not case sensitive.
275
+
242
276
243
277
## PARAMETERS
244
278
0 commit comments