Get-CsOnlineTelephoneNumberInventoryCountries

 

Topic Last Modified: 2016-08-30

Use the Get-CsOnlineTelephoneNumberInventoryCountries cmdlet to retrieve a list of countries with telephone number inventories by specified region and telephone number inventory types.

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

This example returns the countries in the north American region that contain service type telephone numbers.

Get-CsOnlineTelephoneNumberInventoryCountries -InventoryType Service -RegionalGroup NOAM

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

RunspaceId  : af39ca40-06a7-473b-8963-668865d15e87
Id          : US
DefaultName : United States
Areas       : {}

 

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.

RegionalGroup

Required

System.String

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

BypassDualWrite

Optional

System.Boolean

PARAMVALUE: $true | $false

CountryOrRegion

Optional

System.String

Specifies the target country for the cmdlet. To get a list of geographical codes for countries, use the Get-CsOnlineTelephoneNumberInventoryCities cmdlet.

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.

This cmdlet returns an instance, or an array of Deserialized.Microsoft.Skype.EnterpriseVoice.BVDClient.Country objects.

 
Show: