- 15 May 2023
- 1 Minute to read
- Print
- DarkLight
- PDF
Get-NectarNumberRange
- Updated on 15 May 2023
- 1 Minute to read
- Print
- DarkLight
- PDF
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.
Parameter | Value |
---|---|
Required | false |
Position | 1 |
Required | false |
Default Value | None |
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.
Parameter | Value |
---|---|
Required | false |
Position | 2 |
Required | false |
Default Value | None |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
-TenantName <String>
The name of the Nectar DXP tenant. Used in multi-tenant configurations.
Parameter | Value |
---|---|
Required | false |
Position | 3 |
Required | false |
Default Value | None |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
-ResultSize <Int32>
The number of results to return. Defaults to 1000.
Parameter | Value |
---|---|
Required | false |
Position | 4 |
Required | false |
Default Value | 1000 |
Accept pipeline input? | false |
Accept wildcard characters? | false |