-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Updated Get-CsOnlineTelephoneNumberOrder and new cmdlets for creating… #12395
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 6 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
2d73224
Updated Get-CsOnlineTelephoneNumberOrder and new cmdlets for creating…
pavellatif c69b0ba
Update Get-CsOnlineTelephoneNumberOrder.md
pavellatif f11d02f
Update Get-CsOnlineTelephoneNumberOrder.md
mkbond007 92b7835
Update Get-CsOnlineTelephoneNumberOrder.md
pavellatif 902f0ae
Update Get-CsOnlineTelephoneNumberOrder.md
pavellatif 3edb2a6
Update Get-CsOnlineTelephoneNumberOrder.md
mkbond007 e4bc249
Updating ms.reviwer and fixing typos
pavellatif File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
127 changes: 127 additions & 0 deletions
127
teams/teams-ps/teams/New-CsOnlineDirectRoutingTelephoneNumberUploadOrder.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,127 @@ | ||
--- | ||
pavellatif marked this conversation as resolved.
Show resolved
Hide resolved
|
||
external help file: Microsoft.Teams.ConfigAPI.Cmdlets-help.xml | ||
Module Name: Microsoft.Teams.ConfigAPI.Cmdlets | ||
online version: https://learn.microsoft.com/powershell/module/teams/New-CsOnlineDirectRoutingTelephoneNumberUploadOrder | ||
applicable: Microsoft Teams | ||
title: New-CsOnlineDirectRoutingTelephoneNumberUploadOrder | ||
author: pavellatif | ||
ms.author: pavellatif | ||
ms.reviewer: | ||
manager: roykuntz | ||
schema: 2.0.0 | ||
--- | ||
|
||
# New-CsOnlineDirectRoutingTelephoneNumberUploadOrder | ||
|
||
## SYNOPSIS | ||
This cmdlet creates a request to upload Direct Routing telephone numbers to Microsoft Teams telephone number management inventory. | ||
|
||
## SYNTAX | ||
|
||
``` | ||
New-CsOnlineDirectRoutingTelephoneNumberUploadOrder [-TelephoneNumber <String>] [-StartingNumber <String>] [-EndingNumber <String>] | ||
[-Description <String>] [<CommonParameters>] | ||
``` | ||
|
||
## DESCRIPTION | ||
This cmdlet uploads Direct Routing telephone numbers to Micorosoft Teams telephone number management inventory. Once uploaded the phone numbers will be visible in Teams PowerShell as acquired Direct Routing phone numbers. The cmdlet is an asynchronus operation and will return an OrderId as output. [Get-CsOnlineTelephoneNumberOrder](https://learn.microsoft.com/powershell/module/teams/get-csonlinetelephonenumberorder) cmdlet can be used to check the status of the OrderId including any error or warning message that may result from the operation. | ||
|
||
## EXAMPLES | ||
|
||
### Example 1 | ||
```powershell | ||
PS C:\> New-CsOnlineDirectRoutingTelephoneNumberUploadOrder -TelephoneNumber "+123456789" | ||
cdf3073a-6fbb-4ade-a8af-e8fa1f3b9c13 | ||
``` | ||
|
||
In this example, a new Direct Routing telephone number "+123456789" is being uploaded to Micorosoft Teams telephone number management inventory. The output of the cmdlet is the OrderId that can be used with [Get-CsOnlineTelephoneNumberOrder](https://learn.microsoft.com/powershell/module/teams/get-csonlinetelephonenumberorder) cmdlet to retrieve the status of the order. | ||
|
||
### Example 2 | ||
```powershell | ||
PS C:\> New-CsOnlineDirectRoutingTelephoneNumberUploadOrder -StartingNumber "+12000000" -EndingNumber "+12000009" | ||
cdf3073a-6fbb-4ade-a8af-e8fa1f3b9c13 | ||
``` | ||
|
||
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 [Get-CsOnlineTelephoneNumberOrder](https://learn.microsoft.com/powershell/module/teams/get-csonlinetelephonenumberorder) cmdlet to retrieve the status of the order. | ||
|
||
## PARAMETERS | ||
|
||
### -TelephoneNumber | ||
This is the Direct Routing telephone number you wish to upload to Microsoft Teams telephone number management inventory. | ||
|
||
```yaml | ||
Type: String | ||
Parameter Sets: (All) | ||
Aliases: | ||
|
||
Required: False | ||
Position: Named | ||
Default value: None | ||
Accept pipeline input: False | ||
Accept wildcard characters: False | ||
``` | ||
### -StartingNumber | ||
This is the starting number of a range of Direct Routing telephone number you wish to upload to Microsoft Teams telephone number management inventory. | ||
```yaml | ||
Type: String | ||
Parameter Sets: (All) | ||
Aliases: | ||
|
||
Required: False | ||
Position: Named | ||
Default value: None | ||
Accept pipeline input: False | ||
Accept wildcard characters: False | ||
``` | ||
### -EndingNumber | ||
This is the ending number of a range of Direct Routing telephone number you wish to upload to Microsoft Teams telephone number management inventory. | ||
```yaml | ||
Type: String | ||
Parameter Sets: (All) | ||
Aliases: | ||
|
||
Required: False | ||
Position: Named | ||
Default value: None | ||
Accept pipeline input: False | ||
Accept wildcard characters: False | ||
``` | ||
### -Description | ||
Add a meaningful description that will help you identify the reason of this upload order. | ||
```yaml | ||
Type: String | ||
Parameter Sets: (All) | ||
Aliases: | ||
|
||
Required: False | ||
Position: Named | ||
Default value: None | ||
Accept pipeline input: False | ||
Accept wildcard characters: False | ||
``` | ||
### CommonParameters | ||
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). | ||
## INPUTS | ||
### None | ||
## OUTPUTS | ||
### System.String | ||
## NOTES | ||
The cmdlet is available in Teams PowerShell module 6.7.1 or later. | ||
The cmdlet is only available in commercial and GCC cloud instances. | ||
## RELATED LINKS | ||
[Get-CsOnlineTelephoneNumberOrder](https://learn.microsoft.com/powershell/module/teams/get-csonlinetelephonenumberorder) | ||
[New-CsOnlineTelephoneNumberReleaseOrder] (https://learn.microsoft.com/powershell/module/teams/New-CsOnlineTelephoneNumberReleaseOrder) |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.