Skip to content

Commit 3645afa

Browse files
authored
Merge branch 'main' into gary-remove-redundant-file
2 parents 7b75039 + dc2d4b7 commit 3645afa

File tree

61 files changed

+204
-65
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+204
-65
lines changed

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

Lines changed: 78 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ This cmdlet displays information about one or more phone numbers.
2121
### Assignment (Default)
2222
```powershell
2323
Get-CsPhoneNumberAssignment [-ActivationState <string>] [-AssignedPstnTargetId <string>] [-AssignmentCategory <string>]
24-
[-CapabilitiesContain <string>] [-CivicAddressId <string>] [-IsoCountryCode <string>]
24+
[-CapabilitiesContain <string>] [-CivicAddressId <string>] [-Filter <String>] [-IsoCountryCode <string>]
2525
[-LocationId <string>] [-NetworkSiteId <string>] [-NumberType <string>] [-PstnAssignmentStatus <string>] [-Skip <int>] [-TelephoneNumber <string>]
2626
[-TelephoneNumberContain <string>] [-TelephoneNumberGreaterThan <string>] [-TelephoneNumberLessThan <string>]
2727
[-TelephoneNumberStartsWith <string>] [-Top <int>] [<CommonParameters>]
@@ -34,7 +34,7 @@ Returned results are sorted by TelephoneNumber in ascending order.
3434

3535
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.
3636

37-
By default, this cmdlet returns a maximum of 500 results.
37+
By default, this cmdlet returns a maximum of 500 results. A maximum of 1000 results can be returned using -Top filter. If you need to get more than 1000 results, a combination of -Skip and -Top filtering can be used to list incremental returns of 1000 numbers. If a full list of telephone numbers acquired by the tenant is required, you can use [Export-CsAcquiredPhoneNumber](./export-csacquiredphonenumber.md) cmdlet to download a list of all acquired telephone numbers.
3838

3939
## EXAMPLES
4040

@@ -132,15 +132,15 @@ This example returns the number of Calling Plan subscriber phone numbers that ar
132132

133133
### Example 9
134134
```powershell
135-
(Get-CsPhoneNumberAssignment | Where-Object {!$_.NumberType.Contains('DirectRouting') -and $_.Capability.Contains('VoiceApplicationAssignment') -and $_.Capability.Contains('ConferenceAssignment')}).Count
135+
Get-CsPhoneNumberAssignment -Top (50::500)
136136
```
137-
This example returns the number of Calling Plan or Operator Connect service phone numbers that can be assigned to voice applications and conference bridges.
137+
This example returns all phone numbers in the record between sequence 50 to 500. This parameter can be used to get upto a maximum 1000 results at a time.
138138

139139
### Example 10
140140
```powershell
141-
Get-CsPhoneNumberAssignment -Top ([int]::MaxValue)
141+
Get-CsPhoneNumberAssignment -Skip 1000 -Top 1000
142142
```
143-
This example returns all phone numbers.
143+
This example returns all phone numbers sequenced between 1001 to 2000 in the record of phone numbers.
144144

145145
### Example 11
146146
```powershell
@@ -176,6 +176,63 @@ ReverseNumberLookup : {SkipInternalVoip}
176176
```
177177
This example displays when SkipInternalVoip option is turned on for a number.
178178

179+
### Example 13
180+
```powershell
181+
Get-CsPhoneNumberAssignment -Filter "TelephoneNumber -eq '+12065551000'"
182+
```
183+
```output
184+
TelephoneNumber : +12065551000
185+
OperatorId : 83d289bc-a4d3-41e6-8a3f-cff260a3f091
186+
NumberType : DirectRouting
187+
ActivationState : Activated
188+
AssignedPstnTargetId : 2713551e-ed63-415d-9175-fc4ff825a0be
189+
AssignmentCategory : Primary
190+
Capability : {ConferenceAssignment, VoiceApplicationAssignment, UserAssignment}
191+
City :
192+
CivicAddressId : 00000000-0000-0000-0000-000000000000
193+
IsoCountryCode :
194+
IsoSubdivision :
195+
LocationId : 00000000-0000-0000-0000-000000000000
196+
LocationUpdateSupported : True
197+
NetworkSiteId :
198+
PortInOrderStatus :
199+
PstnAssignmentStatus : UserAssigned
200+
PstnPartnerId :
201+
PstnPartnerName :
202+
NumberSource : OnPremises
203+
ReverseNumberLookup : {}
204+
```
205+
This example shows a way to use -Filter parameter to display information of a specific number.
206+
207+
### Example 14
208+
```powershell
209+
Get-CsPhoneNumberAssignment -Filter "TelephoneNumber -like '+12065551000' -and NumberType -eq 'DirectRouting'"
210+
```
211+
```output
212+
TelephoneNumber : +12065551000
213+
OperatorId : 83d289bc-a4d3-41e6-8a3f-cff260a3f091
214+
NumberType : DirectRouting
215+
ActivationState : Activated
216+
AssignedPstnTargetId : 2713551e-ed63-415d-9175-fc4ff825a0be
217+
AssignmentCategory : Primary
218+
Capability : {ConferenceAssignment, VoiceApplicationAssignment, UserAssignment}
219+
City :
220+
CivicAddressId : 00000000-0000-0000-0000-000000000000
221+
IsoCountryCode :
222+
IsoSubdivision :
223+
LocationId : 00000000-0000-0000-0000-000000000000
224+
LocationUpdateSupported : True
225+
NetworkSiteId :
226+
PortInOrderStatus :
227+
PstnAssignmentStatus : UserAssigned
228+
PstnPartnerId :
229+
PstnPartnerName :
230+
NumberSource : OnPremises
231+
ReverseNumberLookup : {}
232+
```
233+
This example shows a way to get filtered results using multiple Filter parameters.
234+
235+
179236
## PARAMETERS
180237

181238
### -ActivationState
@@ -257,6 +314,21 @@ Accept pipeline input: False
257314
Accept wildcard characters: False
258315
```
259316
317+
### -Filter
318+
This can be used to filter on one or more parameters within the search results.
319+
320+
```yaml
321+
Type: String
322+
Parameter Sets: (All)
323+
Aliases:
324+
325+
Required: False
326+
Position: Named
327+
Default value: None
328+
Accept pipeline input: False
329+
Accept wildcard characters: False
330+
```
331+
260332
### -IsoCountryCode
261333
Filters the returned results based on the ISO 3166-1 Alpha-2 country code assigned to the phone number.
262334

teams/teams-ps/teams/Get-CsTeamsFirstPartyMeetingTemplateConfiguration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
22
external help file: Microsoft.Teams.Policy.Administration.Cmdlets.Core.dll-Help.xml
33
Module Name: MicrosoftTeams
4+
online version: https://learn.microsoft.com/powershell/module/teams/Get-CsTeamsFirstPartyMeetingTemplateConfiguration
45
title: Get-CsTeamsFirstPartyMeetingTemplateConfiguration
6+
schema: 2.0.0
57
author: boboPD
68
ms.author: pradas
7-
online version: https://learn.microsoft.com/powershell/module/teams/Get-CsTeamsFirstPartyMeetingTemplateConfiguration
8-
schema: 2.0.0
99
---
1010

1111
# Get-CsTeamsFirstPartyMeetingTemplateConfiguration

teams/teams-ps/teams/Get-CsTeamsGuestCallingConfiguration.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
---
22
external help file: Microsoft.Rtc.Management.Hosted.dll-help.xml
3+
online version: https://learn.microsoft.com/powershell/module/teams/get-csteamsguestcallingconfiguration
34
Module Name: MicrosoftTeams
45
title: Get-CsTeamsGuestCallingConfiguration
56
schema: 2.0.0
6-
manager: bulenteg
77
author: tomkau
88
ms.author: tomkau
9+
manager: bulenteg
910
ms.reviewer:
1011
---
1112

teams/teams-ps/teams/Get-CsTeamsWorkLocationDetectionPolicy.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,19 +40,19 @@ PS C:\> Get-CsTeamsWorkLocationDetectionPolicy
4040
Identity EnableWorkLocationDetection
4141
-------- ----------------------
4242
Global False
43-
Tag:wld-enabled True
44-
Tag:wld-disabled False
43+
Tag:wld-policy1 True
44+
Tag:wld-policy2 False
4545
```
4646
Fetches all the policy instances currently available.
4747

4848
### Example 2
4949
```powershell
50-
PS C:\> Get-CsTeamsWorkLocationDetectionPolicy -Identity wld-enabled
50+
PS C:\> Get-CsTeamsWorkLocationDetectionPolicy -Identity wld-policy1
5151
```
5252
```output
5353
Identity EnableWorkLocationDetection
5454
-------- ----------------------
55-
Tag:wld-enabled True
55+
Tag:wld-policy1 True
5656
```
5757
Fetches an instance of a policy with a known identity.
5858

@@ -63,8 +63,8 @@ PS C:\> Get-CsTeamsWorkLocationDetectionPolicy -Filter *wld*
6363
```output
6464
Identity EnableWorkLocationDetection
6565
-------- ----------------------
66-
Tag:wld-enabled True
67-
Tag:wld-disabled False
66+
Tag:wld-policy1 True
67+
Tag:wld-policy2 False
6868
```
6969
The `Filter` parameter can be used to fetch policy instances based on partial matches on Identity.
7070

teams/teams-ps/teams/Get-CsTenantBlockedCallingNumbers.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
---
22
external help file: Microsoft.Rtc.Management.Hosted.dll-help.xml
3-
applicable: Microsoft Teams
3+
online version: https://learn.microsoft.com/powershell/module/teams/get-cstenantblockedcallingnumbers
44
title: Get-CsTenantBlockedCallingNumbers
5+
applicable: Microsoft Teams
56
schema: 2.0.0
6-
manager: roykuntz
77
author: serdarsoysal
88
ms.author: serdars
9+
manager: roykuntz
910
---
1011

1112
# Get-CsTenantBlockedCallingNumbers

teams/teams-ps/teams/Grant-CsTeamsWorkLocationDetectionPolicy.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,28 +47,28 @@ Passes in the `Identity` of the policy instance in the `PolicyName` parameter an
4747

4848
### Example 1
4949
```powershell
50-
PS C:\> Grant-CsTeamsWorkLocationDetectionPolicy -PolicyName sms-enabled -Identity [email protected]
50+
PS C:\> Grant-CsTeamsWorkLocationDetectionPolicy -PolicyName sms-policy -Identity [email protected]
5151
```
5252

5353
Assigns a given policy to a user.
5454

5555
### Example 2
5656
```powershell
57-
PS C:\> Grant-CsTeamsWorkLocationDetectionPolicy -Group f13d6c9d-ce76-422c-af78-b6018b4d9c80 -PolicyName wld-enabled
57+
PS C:\> Grant-CsTeamsWorkLocationDetectionPolicy -Group f13d6c9d-ce76-422c-af78-b6018b4d9c80 -PolicyName wld-policy
5858
```
5959

6060
Assigns a given policy to a group.
6161

6262
### Example 3
6363
```powershell
64-
PS C:\> Grant-CsTeamsWorkLocationDetectionPolicy -Global -PolicyName wld-enabled
64+
PS C:\> Grant-CsTeamsWorkLocationDetectionPolicy -Global -PolicyName wld-policy
6565
```
6666

6767
Assigns a given policy to the tenant.
6868

6969
### Example 3
7070
```powershell
71-
PS C:\> Grant-CsTeamsWorkLocationDetectionPolicy -Global -PolicyName wld-enabled
71+
PS C:\> Grant-CsTeamsWorkLocationDetectionPolicy -Global -PolicyName wld-policy
7272
```
7373

7474
Note: _Using $null in place of a policy name can be used to unassigned a policy instance._

teams/teams-ps/teams/New-CsOnlineDirectRoutingTelephoneNumberUploadOrder.md

Lines changed: 20 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,18 @@ schema: 2.0.0
1414
# New-CsOnlineDirectRoutingTelephoneNumberUploadOrder
1515

1616
## SYNOPSIS
17-
This cmdlet creates a request to upload Direct Routing telephone numbers to Microsoft Teams telephone number management inventory. The output of the cmdlet is the "orderId" of the asynchronous Direct Routing Number creation operation.
17+
This cmdlet creates a request to upload Direct Routing telephone numbers to Microsoft Teams telephone number management inventory. The output of the cmdlet is the "orderId" of the asynchronous Direct Routing Number creation operation. A maximum of 10,000 phone numbers can be uploaded at a time. If more than 10,000 numbers need to be uploaded, the requests should be divided into multiple increments of up to 10,000 numbers.
1818

1919
## SYNTAX
2020

2121
```
22-
New-CsOnlineDirectRoutingTelephoneNumberUploadOrder [-TelephoneNumber <String>] [-StartingNumber <String>] [-EndingNumber <String>]
23-
[-Description <String>] [<CommonParameters>]
22+
New-CsOnlineDirectRoutingTelephoneNumberUploadOrder [-TelephoneNumber <String>] [-StartingNumber <String>] [-EndingNumber <String>] [-FileContent <Byte[]>] [<CommonParameters>]
2423
```
2524

2625
## DESCRIPTION
2726
This cmdlet uploads Direct Routing telephone numbers to Microsoft Teams telephone number management inventory. Once uploaded the phone numbers will be visible in Teams PowerShell as acquired Direct Routing phone numbers.
2827

29-
The cmdlet is an asynchronous operation and will return an OrderId as output. You can use the [Get-CsOnlineTelephoneNumberOrder](https://learn.microsoft.com/powershell/module/teams/get-csonlinetelephonenumberorder) cmdlet to check the status of the OrderId, including any error or warning messages that might result from the operation: `Get-CsOnlineTelephoneNumberOrder -OrderType DirectRoutingNumberCreation -OrderId "orderId"`.
28+
The cmdlet is an asynchronous operation and will return an OrderId as output. You can use the [Get-CsOnlineTelephoneNumberOrder](./get-csonlinetelephonenumberorder.md) cmdlet to check the status of the OrderId, including any error or warning messages that might result from the operation: `Get-CsOnlineTelephoneNumberOrder -OrderType DirectRoutingNumberCreation -OrderId "orderId"`.
3029

3130
## EXAMPLES
3231

@@ -36,23 +35,32 @@ PS C:\> New-CsOnlineDirectRoutingTelephoneNumberUploadOrder -TelephoneNumber "+1
3635
cdf3073a-6fbb-4ade-a8af-e8fa1f3b9c13
3736
```
3837

39-
In this example, a new Direct Routing telephone number "+123456789" is being uploaded to Microsoft Teams telephone number management inventory. The output of the cmdlet is the OrderId that can be used with the [Get-CsOnlineTelephoneNumberOrder](https://learn.microsoft.com/powershell/module/teams/get-csonlinetelephonenumberorder) cmdlet to retrieve the status of the order: `Get-CsOnlineTelephoneNumberOrder -OrderType DirectRoutingNumberCreation -OrderId "orderId"`.
38+
In this example, a new Direct Routing telephone number "+123456789" is being uploaded to Microsoft Teams telephone number management inventory. The output of the cmdlet is the OrderId that can be used with the [Get-CsOnlineTelephoneNumberOrder](./get-csonlinetelephonenumberorder.md) cmdlet to retrieve the status of the order: `Get-CsOnlineTelephoneNumberOrder -OrderType DirectRoutingNumberCreation -OrderId "orderId"`.
4039

4140
### Example 2
4241
```powershell
4342
PS C:\> New-CsOnlineDirectRoutingTelephoneNumberUploadOrder -TelephoneNumber "+123456789,+134567890,+145678901"
4443
cdf3073a-6fbb-4ade-a8af-e8fa1f3b9c14
4544
```
4645

47-
In this example, a list of telephone numbers is being uploaded to Microsoft Teams telephone number management inventory. The output of the cmdlet is the OrderId that can be used with the [Get-CsOnlineTelephoneNumberOrder](https://learn.microsoft.com/powershell/module/teams/get-csonlinetelephonenumberorder) cmdlet to retrieve the status of the order: `Get-CsOnlineTelephoneNumberOrder -OrderType DirectRoutingNumberCreation -OrderId "orderId"`.
46+
In this example, a list of telephone numbers is being uploaded to Microsoft Teams telephone number management inventory. The output of the cmdlet is the OrderId that can be used with the [Get-CsOnlineTelephoneNumberOrder](./get-csonlinetelephonenumberorder.md) cmdlet to retrieve the status of the order: `Get-CsOnlineTelephoneNumberOrder -OrderType DirectRoutingNumberCreation -OrderId "orderId"`.
4847

4948
### Example 3
5049
```powershell
5150
PS C:\> New-CsOnlineDirectRoutingTelephoneNumberUploadOrder -StartingNumber "+12000000" -EndingNumber "+12000009"
5251
cdf3073a-6fbb-4ade-a8af-e8fa1f3b9c13
5352
```
5453

55-
In this example, a range of Direct Routing telephone numbers from "+12000000" to "+12000009" are being uploaded to Microsoft Teams telephone number management inventory. The output of the cmdlet is the OrderId that can be used with the [Get-CsOnlineTelephoneNumberOrder](https://learn.microsoft.com/powershell/module/teams/get-csonlinetelephonenumberorder) cmdlet to retrieve the status of the order: `Get-CsOnlineTelephoneNumberOrder -OrderType DirectRoutingNumberCreation -OrderId "orderId"`.
54+
In this example, a range of Direct Routing telephone numbers from "+12000000" to "+12000009" are being uploaded to Microsoft Teams telephone number management inventory. The output of the cmdlet is the OrderId that can be used with the [Get-CsOnlineTelephoneNumberOrder](./get-csonlinetelephonenumberorder.md) cmdlet to retrieve the status of the order: `Get-CsOnlineTelephoneNumberOrder -OrderType DirectRoutingNumberCreation -OrderId "orderId"`.
55+
56+
### Example 4
57+
```powershell
58+
PS C:\> $drlist = [System.IO.File]::ReadAllBytes("C:\Users\testuser\DrNumber.csv")
59+
PS C:\> New-CsOnlineDirectRoutingTelephoneNumberUploadOrder -FileContent $drlist
60+
cdf3073a-6fbb-4ade-a8af-e8fa1f3b9c19
61+
```
62+
63+
In this example, the content of a file with a list of Direct Routing telephone numbers are being uploaded via file upload. The file should be in Comma Separated Values (CSV) file format and only containing the list of DR numbers. Only the content of the file can be passed to the New-CsOnlineDirectRoutingTelephoneNumberUploadOrder cmdlet. Additional fields will be supported via file upload in future releases. The output of the cmdlet is the OrderId that can be used with the [Get-CsOnlineTelephoneNumberOrder](./get-csonlinetelephonenumberorder.md) cmdlet to retrieve the status of the order: `Get-CsOnlineTelephoneNumberOrder -OrderType DirectRoutingNumberCreation -OrderId "orderId"`.
5664

5765
## PARAMETERS
5866

@@ -101,11 +109,11 @@ Accept pipeline input: False
101109
Accept wildcard characters: False
102110
```
103111
104-
### -Description
105-
Add a meaningful description that will help you identify the reason for this upload order.
112+
### -FileContent
113+
This is the content of a .csv file that includes the Direct Routing telephone numbers to be uploaded to the Microsoft Teams telephone number management inventory. This parameter can be used to upload up to 10,000 numbers at a time.
106114
107115
```yaml
108-
Type: String
116+
Type: Byte[]
109117
Parameter Sets: (All)
110118
Aliases:
111119

@@ -133,5 +141,5 @@ The cmdlet is available in Teams PowerShell module 6.7.1 or later.
133141
The cmdlet is only available in commercial and GCC cloud instances.
134142
135143
## RELATED LINKS
136-
[Get-CsOnlineTelephoneNumberOrder](https://learn.microsoft.com/powershell/module/teams/get-csonlinetelephonenumberorder)
137-
[New-CsOnlineTelephoneNumberReleaseOrder](https://learn.microsoft.com/powershell/module/teams/New-csonlinetelephonenumberreleaseorder)
144+
[Get-CsOnlineTelephoneNumberOrder](./get-csonlinetelephonenumberorder.md)
145+
[New-CsOnlineTelephoneNumberReleaseOrder](./new-csonlinetelephonenumberreleaseorder.md)

0 commit comments

Comments
 (0)