Clear-CsOnlineTelephoneNumberReservation

 

上次修改主題的時間:2017-06-20

Use the Clear-CsOnlineTelephoneNumberReservation cmdlet to clear a reserved list of telephone numbers before they are acquired. The telephone numbers will then be available for search and reservation again.

Clear-CsOnlineTelephoneNumberReservation -InventoryType <String> -ReservationId <String> [-DomainController <Fqdn>] [-Force <SwitchParameter>] [-Tenant <Guid>]

This example clears a reservation with an inventory type of "Service".

Clear-CsOnlineTelephoneNumberReservation -ReservationId b1ae43f5-07ab-4b81-be32-4b8cc2d11f75 -InventoryType Service

註記注意事項:
This cmdlet will fail if any of the numbers in the reservation have already been assigned. An error message will identify the source of the failure.

 

Parameter Required Type Description

InventoryType

Required

System.String

指定 Cmdlet 的目標電話號碼類型。可接受的值為:

  • 「服務」適用於指派給會議支援的數字。

  • 「訂閱者」適用於支援公用交換電話網路 (PSTN) 功能的號碼。

ReservationId

Required

System.String

Specifies the identification of the reservation you want to clear.

DomainController

Optional

Microsoft.Rtc.Management.Deploy.Fqdn

將保留此參數供 Microsoft 內部使用。

Force

Optional

System.Management.Automation.SwitchParameter

Force 參數會指定是否抑制警告和確認訊息。這在撰寫指令碼以抑制互動式提示時可能很有用。如果命令中不提供 Force 參數,您會在必要時看到提示管理員輸入。

Tenant

Optional

System.Guid

將保留此參數供 Microsoft 內部使用。

BypassDualWrite

Optional

System.Boolean

PARAMVALUE: $true | $false

 
顯示: