New-CsPhoneNumberBulkUpdateDrNumberAcquiredCapabilitiesOrder
This cmdlet allows the admin to update AcquiredCapabilities for one or multiple Direct Routing phone numbers at once.
Syntax
Default (Default)
New-CsPhoneNumberBulkUpdateDrNumberAcquiredCapabilitiesOrder
[-AcquiredCapabilitiesToAdd <String>]
[-AcquiredCapabilitiesToRemove <String>]
[-PhoneNumbers <String>]
[<CommonParameters>]
Description
This cmdlet lets the admin add new, update existing or remove the AcquiredCapabilities for multiple Direct Routing (DR) phone numbers at once. There can be maximum of 1000 phone numbers updated in a single command.
Examples
Example 1
PS C:\> New-CsPhoneNumberBulkUpdateDrNumberAcquiredCapabilitiesOrder -PhoneNumbers "12056788888,12056789999" -AcquiredCapabilitiesToAdd "UserAssignment"
Id OrderType
-- ---------
0a000a0a-aa0a-0a0a-aa0a-a0aa0aa NumberUpdate
This example shows how to add UserAssignment acquired capability for two numbers.
Example 2
PS C:\> New-CsPhoneNumberBulkUpdateDrNumberAcquiredCapabilitiesOrder -PhoneNumbers "12056788888,12056789999" -AcquiredCapabilitiesToRemove "UserAssignment"
Id OrderType
-- ---------
0a000a0a-aa0a-0a0a-aa0a-a0aa0aa NumberUpdate
This example shows how to remove UserAssignment acquired capability from two numbers.
Example 3
PS C:\> New-CsPhoneNumberBulkUpdateDrNumberAcquiredCapabilitiesOrder -PhoneNumbers "12056788888,12056789999" -AcquiredCapabilitiesToAdd "UserAssignment", -AcquiredCapabilitiesToRemove "FirstPartyAppAssignment"
Id OrderType
-- ---------
0a000a0a-aa0a-0a0a-aa0a-a0aa0aa NumberUpdate
This example shows how to add UserAssignment as acquired capability while removing FirstPartyAppAssignment from the acquired capabilities list for two numbers.
Parameters
-AcquiredCapabilitiesToAdd
The acquired capabilities to be added to the phone number. You can specify one or more capabilities delimited by a comma. Supported capabilities are ConferenceAssignment, VoiceApplicationAssignment, UserAssignment, and SharedCalling.
Parameter properties
| Type: | System.String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-AcquiredCapabilitiesToRemove
The acquired capabilities to be removed from the phone number. You can specify one or more capabilities delimited by a comma. Supported capabilities are ConferenceAssignment, VoiceApplicationAssignment, UserAssignment, and SharedCalling.
Parameter properties
| Type: | System.String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-PhoneNumbers
Indicates the phone numbers for which acquired capabilities are being updated.
Parameter properties
| Type: | System.String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Inputs
None
Outputs
OrderId
Contains the OrderId for the operation. This will be needed to lookup order status using Get-CsOnlineTelephoneNumberOrder.
OrderType
Type of order submitted. This will be needed to lookup order status using Get-CsOnlineTelephoneNumberOrder.