Set-UdmRMNumberBlock

Updates an either name of or the note of an existing number block

ItemComment
Availability versionVersion 1.0
Initial release dateJune 27, 2017
Last updated onJune 27, 2017
Related toRanger Documentation

Syntax

Set-UdmRMNumberBlock - Identity -Name <String> -Note <string> [<CommonParameters>]

Parameters

ParameterDescriptionClassAccepted optionsConstraintsUsageUniqueAvailable from version
IdentityThe GUID of the number block to updateSystem.String

32 hex characters in the format

xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxxxxx

Required
 v1.0
RangeIdentityThe GUID of the range the number block is in. Important you cannot change this to move the number block to a new range.System.String

32 hex characters in the format

xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxxxxx

Required
 v1.0
PhoneNumberThe phonenumber associated for the number block. Specifying a new number changes the existing numberSystem.String
Phone number in E.164 formatRequired
  v1.0
QuantitySpecify a value to change the quantity of numbers in the number blockSystem.String
Number from 1 to 999999Optional
  v1.0
serviceIdNew service ID for the number blockSystem.String
1 to 40 charactersOptional
  v1.0
serviceProviderNew service provider for the number blockSystem.String
1 to 40 charactersOptional
  v1.0
Note

New comments to add to the range

System.String
1 to 255 charactersOptional
 v1.0

Output

Field NameDescription
idThe GUID of the number block changed
phoneNumberThe starting phone number associated with the number block
extensionStarting extension associated with this number block if it is an extension range
quantityThe quantity of numnbers in the number block
createdOnDate and time the number block was created on in ISO8601 format
serviceIdThe service ID associated with the number block
ServiceProviderThe service provider associated with the number block
noteThe note associated with the number block
updatedOnDate and time the number block was updated on in ISO8601 format
rangeIdThe GUID of the range the number block is in
usedQuantityThe number of numbers allocated in the range
updatedByThe GUID of the user that just changed the range with this command

Examples

Example 1 

In example 1, the Set-UdmRMNumberBlock cmdlet changes the note on the number block who's GUID is 86b1087d-83cb-4f23-8768-5e45e742f2dc

Set-UdmRMNumberBlock -identity "86b1087d-83cb-4f23-8768-5e45e742f2dc" -note "New building on the corner of 5th and Main"

Example 2

In example 2, the Set-UdmRMRange cmdlet changes the name on the number block who's GUID is 86b1087d-83cb-4f23-8768-5e45e742f2dc

Set-UdmRMNumberBlock -identity "86b1087d-83cb-4f23-8768-5e45e742f2dc" -name "Boston Downtown"