Complete-CsOnlineTelephoneNumberOrder
Use the Complete-CsOnlineTelephoneNumberOrder
cmdlet to complete a specific telephone number search order and confirm the purchase of the new telephone numbers. The telephone numbers can then be used to set up calling features for users and services in your organization.
Syntax
Complete-CsOnlineTelephoneNumberOrder
[-OrderId] <OrderId>
[<CommonParameters>]
Description
Use the Complete-CsOnlineTelephoneNumberOrder
cmdlet to complete a specific telephone number search order and confirm the purchase of the new telephone numbers. The telephone numbers can then be used to set up calling features for users and services in your organization.
Examples
-------------------------- Example 1 --------------------------
PS C:\> Complete-CsOnlineTelephoneNumberOrder -OrderId 1efd85ca-dd46-41b3-80a0-2e4c5f87c912
PS C:\> Get-CsOnlineTelephoneNumberOrder -OrderId 1efd85ca-dd46-41b3-80a0-2e4c5f87c912 | fl
AreaCode :
CivicAddressId :
CountryCode : US
CreatedAt : 8/23/2021 5:43:44 PM
Description : test
ErrorCode : NoError
Id : 1efd85ca-dd46-41b3-80a0-2e4c5f87c912
InventoryType : Subscriber
IsManual : False
Name : test
NumberPrefix : 1718
NumberType : UserSubscriber
Quantity : 1
ReservationExpiryDate : 8/23/2021 5:59:45 PM
SearchType : Prefix
SendToServiceDesk : False
Status : Completed
TelephoneNumber : {Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Models.TelephoneNumberSearchResult}
PS C:\> (Get-CsOnlineTelephoneNumberOrder -OrderId 1efd85ca-dd46-41b3-80a0-2e4c5f87c912).TelephoneNumber
Location TelephoneNumber
-------- ---------------
New York City +17182000004
This example completes the purchase of the telephone number order containing the phone number +17182000004.
Parameters
-OrderId
Specifies the telephone number search order to look up. Use New-CsOnlineTelephoneNumberOrder
to create a search order to obtain a search order Id.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Related Links
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應