- 15 May 2023
- 1 Minute to read
- Print
- DarkLight
- PDF
Get-NectarNumberLocation
- Updated on 15 May 2023
- 1 Minute to read
- Print
- DarkLight
- PDF
Returns a list of Nectar DXP service locations used in the DID Management tool.
Syntax
Get-NectarNumberLocation
-LocationName <String>
-TenantName <String>
-ResultSize <Int32>
Examples
Example 1
Get-NectarNumberLocation
Returns the first 10 service locations
Example 2
Get-NectarNumberLocation -ResultSize 100
Returns the first 100 service locations
Example 3
Get-NectarNumberLocation -LocationName Location2
Returns up to 10 service locations that contains "location2" anywhere in the name. The search is not case-sensitive. This example would return Location2, Location20, Location214, MyLocation299 etc
Example 4
Get-NectarNumberLocation -LocationName ^Location2
Returns up to 10 service locations that starts with "location2" in the name. The search is not case-sensitive. This example would return Location2, Location20, Location214 etc, but NOT MyLocation299
Example 5
Get-NectarNumberLocation -LocationName ^Location2$
Returns a service location explicitly named "Location2". The search is not case-sensitive.
Parameters
-LocationName <String>
The name of the service location to get information on. Can be a partial match. To return an exact match and to avoid ambiguity, enclose service location name with ^ at the beginning and $ at the end.
Parameter | Value |
---|---|
Required | false |
Position | 1 |
Required | false |
Default Value | None |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-TenantName <String>
The name of the Nectar DXP tenant. Used in multi-tenant configurations.
Parameter | Value |
---|---|
Required | false |
Position | 2 |
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 | 3 |
Required | false |
Default Value | 1000 |
Accept pipeline input? | false |
Accept wildcard characters? | false |