Get-CsOnlineTelephoneNumberReservationsInformation

 

Topic Last Modified: 2016-08-30

Use the Get-CsOnlineTelephoneNumberReservationsInformation to retrieve information about the total number of telephone numbers which can reserved per session, and the maximum active reservations per session.

Get-CsOnlineTelephoneNumberReservationsInformation [-BypassDualWrite <$true | $false>] [-Confirm [<SwitchParameter>]] [-DomainController <Fqdn>] [-Force <SwitchParameter>] [-Tenant <Guid>] [-WhatIf [<SwitchParameter>]]

This example returns the number of active reservations, reserved telephone numbers, maximum reservations supported per session, and maximum telephone numbers that can be reserved per session.

Get-CsOnlineTelephoneNumberReservationsInformation

This cmdlet is used to see the number of active reservations, reserved telephone numbers, maximum reservations supported per session, and maximum telephone numbers that can be reserved per session.

The console output of this cmdlet will be in the following form:

Get-CsOnlineTelephoneNumberReservationsInformation
RunspaceId                        : 37c11bb0-3064-4e36-a0af-05efe9ee2bd3
ActiveReservationsCount           : 0
ActiveReservedNumbersCount        : 0
MaximumActiveReservationsCount    : 10
MaximumActiveReservedNumbersCount : 200

 

Parameter Required Type Description

BypassDualWrite

Optional

System.Boolean

PARAMVALUE: $true | $false

Confirm

Optional

System.Management.Automation.SwitchParameter

The Confirm switch causes the command to pause processing, and requires confirmation to proceed.

DomainController

Optional

Microsoft.Rtc.Management.Deploy.Fqdn

This parameter is reserved for internal Microsoft use.

Force

Optional

System.Management.Automation.SwitchParameter

The Force switch specifies whether to suppress warning and confirmation messages. It can be useful in scripting to suppress interactive prompts. If the Force switch isn't provided in the command, you're prompted for administrative input if required.

Tenant

Optional

System.Guid

This parameter is reserved for internal Microsoft use.

WhatIf

Optional

System.Management.Automation.SwitchParameter

The WhatIf switch causes the command to simulate its results. By using this switch, you can view what changes would occur without having to commit those changes.

The Get-CsOnlineTelephoneNumberReservationsInformation cmdlet returns a LacReservationInformation object.

 
Show: