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

    Get-NectarNumberRange

    • Dark
      Light
    • PDF

    Article summary

    Returns a list of Nectar DXP number ranges in the DID Management tool

    Syntax

    Get-NectarNumberRange
      -RangeName  <String>
      -LocationName  <String>
      -TenantName  <String>
      -ResultSize  <Int32>
    

    Examples

    Example 1

    Get-NectarNumberRange
    

    Returns the first 10 number ranges

    Example 2

    Get-NectarNumberRange -ResultSize 100
    

    Returns the first 100 number ranges

    Example 3

    Get-NectarNumberRange -LocationName Tokyo
    

    Returns the first 10 number ranges at the Tokyo location

    Example 4

    Get-NectarNumberRange -RangeName Range2
    

    Returns up to 10 ranges that contains "range2" anywhere in the name. The search is not case-sensitive. This example would return Range2, Range20, Range214, MyRange299 etc

    Example 5

    Get-NectarNumberRange -RangeName ^Range2
    

    Returns up to 10 ranges that starts with "range2" in the name. The search is not case-sensitive. This example would return Range2, Range20, Range214 etc, but NOT MyRange299.

    Example 6

    Get-NectarNumberRange -RangeName ^Range2$
    

    Returns any range explicitly named "Range2". The search is not case-sensitive. This example would return Range2 only. If there are multiple ranges with the name Range2, all will be returned.

    Example 7

    Get-NectarNumberRange -RangeName ^Range2$ -LocationName Tokyo
    

    Returns a range explicitly named "Range2" in the Tokyo location. The search is not case-sensitive.

    Parameters

    -RangeName <String>
    The name of the number range to get information on. Can be a partial match. To return an exact match and to avoid ambiguity, enclose range name with ^ at the beginning and $ at the end.

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

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

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

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

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

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

    ParameterValue
    Requiredfalse
    Position4
    Requiredfalse
    Default Value1000
    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 AI, facilitating knowledge discovery through conversational intelligence