Get-CsOnlineTelephoneNumberInventoryTypes

Use the Get-CsOnlineTelephoneNumberInventoryTypes cmdlet to retrieve the telephone number inventory types that are defined.

Syntax

Get-CsOnlineTelephoneNumberInventoryTypes
   [-Tenant <Guid>]
   [-DomainController <Fqdn>]
   [-Force]
   [<CommonParameters>]

Description

This is an example of Get-CsOnlineTelephoneNumberInventoryTypes cmdlet's console output.

RunspaceId : af39ca40-06a7-473b-8963-668865d15e87

Id : Service

Description : Inventory of service telephone numbers

Regions : {}

Reservations : {}

RunspaceId : af39ca40-06a7-473b-8963-668865d15e87

Id : Subscriber

Description : Inventory of subscriber telephone numbers

Regions : {}

Reservations : {}

Examples

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

Get-CsOnlineTelephoneNumberInventoryTypes

This example retrieves all the telephone number types for your organization.

Parameters

-AsJob

Indicates that this cmdlet runs as a background job.

When you specify the AsJob parameter, the command immediately returns an object that represents the background job. You can continue to work in the session while the job finishes. The job is created on the local computer and the results from the Skype for Business Online session are automatically returned to the local computer. To get the job results, use the Receive-Job cmdlet.

For more information about Windows PowerShell background jobs, see about_Jobs and about_Remote_Jobs.

Type:SwitchParameter
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:Fqdn
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
-Tenant

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.Inventory

Instance or array of the object.