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 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기