Get-CsOnlineTelephoneNumberInventoryTypes
Use the Get-CsOnlineTelephoneNumberInventoryTypes cmdlet to retrieve the telephone number inventory types that are defined.
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-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
-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.
Feedback
Submit and view feedback for