Skip to content

Commit f9a2fd8

Browse files
committed
Update New-CsOnlineDirectRoutingTelephoneNumberUploadOrder.md
1 parent 92e8a47 commit f9a2fd8

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

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

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ 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 need to be broken into multiple increment of upto 10,000 numbers.
1818

1919
## SYNTAX
2020

2121
```
22-
New-CsOnlineDirectRoutingTelephoneNumberUploadOrder [-TelephoneNumber <String>] [-StartingNumber <String>] [-EndingNumber <String>] [-FileContent <String>] [<CommonParameters>]
22+
New-CsOnlineDirectRoutingTelephoneNumberUploadOrder [-TelephoneNumber <String>] [-StartingNumber <String>] [-EndingNumber <String>] [-FileContent <Byte[]>] [<CommonParameters>]
2323
```
2424

2525
## DESCRIPTION
@@ -55,11 +55,12 @@ In this example, a range of Direct Routing telephone numbers from "+12000000" to
5555

5656
### Example 4
5757
```powershell
58-
PS C:\> New-CsOnlineDirectRoutingTelephoneNumberUploadOrder -FileContent "C:\Users\testuser\DrNumber.csv"
58+
PS C:\> $drlist = [System.IO.File]::ReadAllBytes("C:\Users\testuser\DrNumber.csv")
59+
PS C:\> New-CsOnlineDirectRoutingTelephoneNumberUploadOrder -FileContent $drlist
5960
cdf3073a-6fbb-4ade-a8af-e8fa1f3b9c19
6061
```
6162

62-
In this example, 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. 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](https://learn.microsoft.com/powershell/module/teams/get-csonlinetelephonenumberorder) cmdlet to retrieve the status of the order: `Get-CsOnlineTelephoneNumberOrder -OrderType DirectRoutingNumberCreation -OrderId "orderId"`.
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](https://learn.microsoft.com/powershell/module/teams/get-csonlinetelephonenumberorder) cmdlet to retrieve the status of the order: `Get-CsOnlineTelephoneNumberOrder -OrderType DirectRoutingNumberCreation -OrderId "orderId"`.
6364

6465
## PARAMETERS
6566

@@ -109,7 +110,7 @@ Accept wildcard characters: False
109110
```
110111
111112
### -FileContent
112-
This is the .csv file that contains the Direct Routing telephone numbers to be uploaded to Microsoft Teams telephonen number management inventory.
113+
This is the content of a .csv file that contains the Direct Routing telephone numbers to be uploaded to Microsoft Teams telephonen number management inventory. This parameter can be used to upload upto 10,000 numbers at a time.
113114
114115
```yaml
115116
Type: String

0 commit comments

Comments
 (0)