Get-CsOnlineTelephoneNumberInventoryRegions
Use the Get-CsOnlineTelephoneNumberInventoryRegions
cmdlet to retrieve the regions where specified inventory types are supported.
Note:
As of April 30, 2022, the existing Skype for Business PowerShell cmdlets for telephone number search and related activities will be deprecated and will no longer be available for use. The new Teams PowerShell cmdlets for telephone number search and related activities are already available. For more details, see New-CsOnlineTelephoneNumberOrder.
Syntax
Get-CsOnlineTelephoneNumberInventoryRegions
[-Tenant <Guid>]
[-RegionalGroup <String>]
-InventoryType <String>
[-DomainController <Fqdn>]
[-Force]
[<CommonParameters>]
Description
Following is an example of the Get-CsOnlineTelephoneNumberInventoryRegions
cmdlet's console output.
RunspaceId : f90303a9-c6a8-483c-b3b3-a5b8cdbab19c
Id : NOAM
DefaultName : North America
Countries : {}
Examples
-------------------------- Example 1 --------------------------
Get-CsOnlineTelephoneNumberInventoryRegions -InventoryType Service
This example returns the region where the inventory type of "Service" is supported.
-------------------------- Example 2 --------------------------
Get-CsOnlineTelephoneNumberInventoryRegions -InventoryType Subscriber
This example returns the region where the inventory type of "Subscriber" is supported.
Parameters
This parameter is reserved for internal Microsoft use.
Type: | Fqdn |
Aliases: | DC |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Skype for Business Online |
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 |
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: | String |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Skype for Business Online |
Specifies the target geographical region for the cmdlet.
Type: | String |
Aliases: | Region |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Skype for Business Online |
This parameter is reserved for internal Microsoft use.
Type: | Guid |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Skype for Business Online |
Inputs
None
Outputs
Deserialized.Microsoft.Skype.EnterpriseVoice.BVDClient.Region
Instance or array of the object.
Feedback
Submit and view feedback for