Skip to content

Commit b2d46ef

Browse files
committed
Fix schema violation
1 parent c7e6c49 commit b2d46ef

File tree

1 file changed

+49
-15
lines changed

1 file changed

+49
-15
lines changed

teams/teams-ps/MicrosoftTeams/New-CsOnlineTelephoneNumberReleaseOrder.md

Lines changed: 49 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -15,58 +15,77 @@ title: New-CsOnlineTelephoneNumberReleaseOrder
1515
# New-CsOnlineTelephoneNumberReleaseOrder
1616

1717
## SYNOPSIS
18-
This cmdlet creates a request to release telephone numbers from Microsoft Teams telephone number management inventory.
18+
19+
This cmdlet creates a request to release telephone numbers from Microsoft Teams telephone number
20+
management inventory.
1921

2022
## SYNTAX
2123

2224
```
23-
New-CsOnlineTelephoneNumberReleaseOrder [-TelephoneNumber <String>] [-StartingNumber <String>] [-EndingNumber <String>] [-FileContent <Byte[]>] [<CommonParameters>]
25+
New-CsOnlineTelephoneNumberReleaseOrder [-TelephoneNumber <String>] [-StartingNumber <String>]
26+
[-EndingNumber <String>] [-FileContent <Byte[]>] [<CommonParameters>]
2427
```
2528

2629
## DESCRIPTION
27-
This cmdlet releases existing telephone numbers from Microsoft Teams telephone number management inventory. Once released the phone numbers will not be visible in Teams PowerShell as acquired telephone numbers. A maximum of 1,000 phone numbers can be released at a time. If more than 1,000 numbers need to be released, the requests should be divided into multiple increments of up to 1,000 numbers.
2830

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 Release -OrderId "orderId"`.
31+
This cmdlet releases existing telephone numbers from Microsoft Teams telephone number management
32+
inventory. Once released the phone numbers will not be visible in Teams PowerShell as acquired
33+
telephone numbers. A maximum of 1,000 phone numbers can be released at a time. If more than 1,000
34+
numbers need to be released, the requests should be divided into multiple increments of up to 1,000
35+
numbers.
36+
37+
The cmdlet is an asynchronous operation and will return an OrderId as output. You can use the
38+
[Get-CsOnlineTelephoneNumberOrder](get-csonlinetelephonenumberorder.md)
39+
cmdlet to check the status of the OrderId, including any error or warning messages that might result
40+
from the operation: `Get-CsOnlineTelephoneNumberOrder -OrderType Release -OrderId "orderId"`.
3041

3142
## EXAMPLES
3243

3344
### Example 1
45+
3446
```powershell
3547
PS C:\> New-CsOnlineTelephoneNumberReleaseOrder -TelephoneNumber "+123456789"
3648
cdf3073a-6fbb-4ade-a8af-e8fa1f3b9c13
3749
```
3850

39-
In this example, a telephone number "+123456789" is being released from 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 Release -OrderId "orderId"`.
51+
In this example, a telephone number "+123456789" is being released from Microsoft Teams telephone
52+
number management inventory.
4053

4154
### Example 2
55+
4256
```powershell
4357
PS C:\> New-CsOnlineTelephoneNumberReleaseOrder -TelephoneNumber "+123456789,+134567890,+145678901"
4458
cdf3073a-6fbb-4ade-a8af-e8fa1f3b9c13
4559
```
4660

47-
In this example, a list of telephone numbers are being released from Microsoft Teams telephone number management. 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 Release -OrderId "orderId"`.
61+
In this example, a list of telephone numbers are being released from Microsoft Teams telephone
62+
number management.
4863

4964
### Example 3
65+
5066
```powershell
5167
PS C:\> New-CsOnlineTelephoneNumberReleaseOrder -StartingNumber "+12000000" -EndingNumber "+12000009"
5268
cdf3073a-6fbb-4ade-a8af-e8fa1f3b9c13
5369
```
5470

55-
In this example, a range of telephone numbers from "+12000000" to "+12000009" are being released from Microsoft Teams telephone number management. 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 Release -OrderId "orderId"`.
71+
In this example, a range of telephone numbers from "+12000000" to "+12000009" are being released from Microsoft Teams telephone number management.
5672

5773
### Example 4
74+
5875
```powershell
5976
PS C:\> $drlist = [System.IO.File]::ReadAllBytes("C:\Users\testuser\DrNumber.csv")
6077
PS C:\> New-CsOnlineTelephoneNumberReleaseOrder -FileContent $drlist
6178
cdf3073a-6fbb-4ade-a8af-e8fa1f3b9c13
6279
```
6380

64-
In this example, the content of a file with a list of telephone numbers are being released via file upload. The file should be in Comma Separated Values (CSV) file format and should only contain the list of telephone numbers to be released. The New-CsOnlineTelephoneNumberReleaseOrder cmdlet is only used to pass the content. To read the output of this cmdlet and retrieve the status of your order, you can use OrderId with the [Get-CsOnlineTelephoneNumberOrder](./get-csonlinetelephonenumberorder.md) cmdlet : `Get-CsOnlineTelephoneNumberOrder -OrderType Release -OrderId "orderId"`.
81+
In this example, the content of a file with a list of telephone numbers are being released via file upload. The file should be in Comma Separated Values (CSV) file format and should only contain the list of telephone numbers to be released. The `New-CsOnlineTelephoneNumberReleaseOrder` cmdlet is only used to pass the content.
6582

6683
## PARAMETERS
6784

6885
### -EndingNumber
69-
This is the ending number of a range of telephone number you wish to release from your tenant in Microsoft Teams telephone number management inventory.
86+
87+
This is the ending number of a range of telephone number you wish to release from your tenant in
88+
Microsoft Teams telephone number management inventory.
7089

7190
```yaml
7291
Type: String
@@ -81,7 +100,10 @@ Accept wildcard characters: False
81100
```
82101
83102
### -FileContent
84-
This is the content of a .csv file that includes the telephone numbers to be released from the Microsoft Teams telephone number management inventory. This parameter can be used to release up to 1,000 numbers at a time.
103+
104+
This is the content of a .csv file that includes the telephone numbers to be released from the
105+
Microsoft Teams telephone number management inventory. This parameter can be used to release up to
106+
1,000 numbers at a time.
85107
86108
```yaml
87109
Type: Byte[]
@@ -93,9 +115,12 @@ Position: Named
93115
Default value: None
94116
Accept pipeline input: False
95117
Accept wildcard characters: False
118+
```
96119
97120
### -StartingNumber
98-
This is the starting number of a range of telephone number you wish to release from your tenant in Microsoft Teams telephone number management inventory.
121+
122+
This is the starting number of a range of telephone number you wish to release from your tenant in
123+
Microsoft Teams telephone number management inventory.
99124
100125
```yaml
101126
Type: String
@@ -110,7 +135,9 @@ Accept wildcard characters: False
110135
```
111136
112137
### -TelephoneNumber
113-
This is the telephone number you wish to release from your tenant in Microsoft Teams telephone number management inventory.
138+
139+
This is the telephone number you wish to release from your tenant in Microsoft Teams telephone
140+
number management inventory.
114141
115142
```yaml
116143
Type: String
@@ -125,7 +152,11 @@ Accept wildcard characters: False
125152
```
126153
127154
### CommonParameters
128-
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
155+
156+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
157+
-InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose,
158+
-WarningAction, and -WarningVariable. For more information, see
159+
[about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
129160
130161
## INPUTS
131162
@@ -136,10 +167,13 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
136167
### System.String
137168
138169
## NOTES
170+
139171
The cmdlet is available in Teams PowerShell module 6.7.1 or later.
140172
141173
The cmdlet is only available in commercial and GCC cloud instances.
142174
143175
## RELATED LINKS
144-
[Get-CsOnlineTelephoneNumberOrder](https://learn.microsoft.com/powershell/module/teams/get-csonlinetelephonenumberorder)
145-
[New-CsOnlineDirectRoutingTelephoneNumberUploadOrder](https://learn.microsoft.com/powershell/module/teams/new-csonlinedirectroutingtelephonenumberuploadorder)
176+
177+
[Get-CsOnlineTelephoneNumberOrder](get-csonlinetelephonenumberorder.md)
178+
179+
[New-CsOnlineDirectRoutingTelephoneNumberUploadOrder](new-csonlinedirectroutingtelephonenumberuploadorder.md)

0 commit comments

Comments
 (0)