Get-CsOnlineTelephoneNumberAvailableCount

 

Topic Last Modified: 2016-08-30

Use the Get-CsOnlineTelephoneNumberAvailableCount cmdlet to retrieve the total telephone numbers your organization is licensed to acquire.

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

This example returns the total telephone numbers your organization is licensed to acquire.

Get-CsOnlineTelephoneNumberAvailableCount

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

Get-CsOnlineTelephoneNumberAvailableCount
RunspaceId                                                           Count
-------------                                                            ------
37c11bb0-3064-4e36-a0af-05efe9ee2bd3     11010

 

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.

InventoryType

Optional

System.String

PARAMVALUE: String

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.

This cmdlet returns a LacAvailableNumberCount object.

 
Show: