Get-CsOnlineTelephoneNumberInventoryRegions

 

Topic Last Modified: 2016-08-30

Use the Get-CsOnlineTelephoneNumberInventoryRegions cmdlet to retrieve the regions where specified inventory types are supported.

Get-CsOnlineTelephoneNumberInventoryRegions -InventoryType <String> [-BypassDualWrite <$true | $false>] [-DomainController <Fqdn>] [-Force <SwitchParameter>] [-RegionalGroup <String>] [-Tenant <Guid>]

This example returns the region where the inventory type of "Service" is supported.

Get-CsOnlineTelephoneNumberInventoryRegions -InventoryType Service

This example returns the region where the inventory type of "Subscriber" is supported.

Get-CsOnlineTelephoneNumberInventoryRegions -InventoryType Subscriber

Following is an example of the Get-CsOnlineTelephoneNumberInventoryRegions cmdlet's console output.

RunspaceId  : f90303a9-c6a8-483c-b3b3-a5b8cdbab19c
Id          : NOAM
DefaultName : North America
Countries   : {}

 

Parameter Required Type Description

InventoryType

Required

System.String

Specifies the target telephone number type for the cmdlet. Acceptable values are:

  • "Service" for numbers assigned to conferencing support.

  • "Subscriber" for numbers supporting public switched telephone network (PSTN) functions.

BypassDualWrite

Optional

System.Boolean

PARAMVALUE: $true | $false

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.

RegionalGroup

Optional

System.String

Specifies the target geographical region for the cmdlet. To get a list of geographical codes for regions, use the Get-CsOnlineTelephoneNumberInventoryRegions cmdlet.

Tenant

Optional

System.Guid

This parameter is reserved for internal Microsoft use.

Returns an instance, or an array of Deserialized.Microsoft.Skype.EnterpriseVoice.BVDClient.Region objects.

 
Show: