Get-NectarNumber
    • 15 May 2023
    • 1 Minute to read
    • Contributors
    • Dark
      Light
    • PDF

    Get-NectarNumber

    • Dark
      Light
    • PDF

    Article Summary

    Returns a list of Nectar DXP numbers from the DID Management tool

    Syntax

    Get-NectarNumber
      -PhoneNumber  <String>
      -LocationName  <String>
      -RangeName  <String>
      -NumberState  <String>
      -TenantName  <String>
      -PageSize  <Int32>
      -ResultSize  <Int32>
    

    Examples

    Example 1

    Get-NectarNumber
    

    Returns the first 10 numbers

    Example 2

    Get-NectarNumber -ResultSize 100
    

    Returns the first 100 numbers

    Example 3

    Get-NectarNumber -LocationName Tokyo
    

    Returns the first 10 numbers at the Tokyo location

    Example 4

    Get-NectarNumber -RangeName Range2
    

    Returns up to 10 numbers from a number range called Range2.

    Example 5

    Get-NectarNumber -RangeName Range2 -NumberState UNUSED -ResultSize 100
    

    Returns up to 100 unused numbers in the Range2 range.

    Parameters

    -PhoneNumber <String>
    The phone number to return information about. Can be a partial match. To return an exact match and to avoid ambiguity, enclose number with ^ at the beginning and $ at the end.

    ParameterValue
    Requiredfalse
    Position1
    Requiredfalse
    Default ValueNone
    Accept pipeline input?false
    Accept wildcard characters?false

    -LocationName <String>
    The name of the location to get number information about. Will be an exact match.

    ParameterValue
    Requiredfalse
    Position2
    Requiredfalse
    Default ValueNone
    Accept pipeline input?false
    Accept wildcard characters?false

    -RangeName <String>
    The name of the range to get number information about. Will be an exact match.

    ParameterValue
    Requiredfalse
    Position3
    Requiredfalse
    Default ValueNone
    Accept pipeline input?false
    Accept wildcard characters?false

    -NumberState <String>
    Returns information about numbers that are either USED, UNUSED or RESERVED

    ParameterValue
    Requiredfalse
    Position4
    Requiredfalse
    Default ValueNone
    Accept pipeline input?false
    Accept wildcard characters?false

    -TenantName <String>
    The name of the Nectar DXP tenant. Used in multi-tenant configurations.

    ParameterValue
    Requiredfalse
    Position5
    Requiredfalse
    Default ValueNone
    Accept pipeline input?true (ByPropertyName)
    Accept wildcard characters?false

    -PageSize <Int32>

    ParameterValue
    Requiredfalse
    Position6
    Requiredfalse
    Default Value10000
    Accept pipeline input?false
    Accept wildcard characters?false

    -ResultSize <Int32>
    The number of results to return. Defaults to 1000.

    ParameterValue
    Requiredfalse
    Position7
    Requiredfalse
    Default Value0
    Accept pipeline input?false
    Accept wildcard characters?false

    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.
    ESC

    Eddy, a super-smart generative AI, opening up ways to have tailored queries and responses