Get-CsOnlineTelephoneNumberInventoryAreas

Use the Get-CsOnlineTelephoneNumberInventoryAreas cmdlet to retrieve the geographical areas where specified inventory types are supported.

Syntax

Get-CsOnlineTelephoneNumberInventoryAreas
   [-CountryOrRegion <Object>]
   [-InventoryType <Object>]
   [-RegionalGroup <Object>]
   [-Area <Object>]
   [-BypassDualWrite <Object>]
   [-DomainController <Object>]
   [-Force]
   [-Tenant <Object>]
   [-AsJob]
   [<CommonParameters>]

Description

Following is an example of the console output for the Get-CsOnlineTelephoneNumberInventoryAreas cmdlet.

Get-CsOnlineTelephoneNumberInventoryAreas -InventoryType Subscriber -RegionalGroup NOAM -CountryOrRegion US

RunspaceId : 8fa40044-7bcf-465b-b7c8-76e54f124c8d

Id : IL

DefaultName : Illinois

Cities : {}

RunspaceId : 8fa40044-7bcf-465b-b7c8-76e54f124c8d

Id : MA

DefaultName : Massachusetts

Cities : {}

RunspaceId : 8fa40044-7bcf-465b-b7c8-76e54f124c8d

Id : NY

DefaultName : New York

Cities : {}

RunspaceId : 8fa40044-7bcf-465b-b7c8-76e54f124c8d

Id : OR

DefaultName : Oregon

Cities : {}

Examples

-------------------------- Example 1 --------------------------

Get-CsOnlineTelephoneNumberInventoryAreas -InventoryType Subscriber -RegionalGroup NOAM -CountryOrRegion US

This example returns the areas with Subscriber inventory in the specified region and country.

Optional Parameters

-Area

Specifies the target geographical area for the cmdlet. For a list of geographical codes see Skype for Business geographical codes (http://go.microsoft.com/fwlink/?LinkId=615951).

Type:Object
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Online
-AsJob

{{Fill AsJob Description}}

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Online
-BypassDualWrite

PARAMVALUE: $true | $false

Type:Object
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Online
-CountryOrRegion

Specifies the target country for the cmdlet. For a list of geographical codes see Skype for Business geographical codes (http://go.microsoft.com/fwlink/?LinkId=615951).

Type:Object
Aliases:Country
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Online
-DomainController

This parameter is reserved for internal Microsoft use.

Type:Object
Aliases:DC
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Online
-Force

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.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Online
-InventoryType

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.

Type:Object
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Online
-RegionalGroup

Specifies the target geographical region for the cmdlet. For a list of geographical codes see Skype for Business geographical codes (http://go.microsoft.com/fwlink/?LinkId=615951).

Type:Object
Aliases:Region
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Online
-Tenant

This parameter is reserved for internal Microsoft use.

Type:Object
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Online

Inputs

None

Outputs

Deserialized.Microsoft.Rtc.Management.Hosted.Bvd.Types.InventoryArea

Instance or array of the objects.