New-CsPhoneNumberBulkUpdateNetworkSiteIdOrder
This cmdlet allows the admin to update NetworkSiteId for one or multiple telephone numbers at once.
Syntax
Default (Default)
New-CsPhoneNumberBulkUpdateNetworkSiteIdOrder
[-NetworkSiteId <String>]
[-PhoneNumbers <String>]
[<CommonParameters>]
Description
This cmdlet lets the admin update the NetworkSiteId for multiple phone numbers at once. There can be maximum of 1000 phone numbers updated in a single command.
Examples
Example 1
PS C:\> New-CsPhoneNumberBulkUpdateNetworkSiteIdOrder -PhoneNumbers "12056788888,12056789999" -NetworkSiteId "123534"
Id OrderType
-- ---------
0a000a0a-aa0a-0a0a-aa0a-a0aa0aa NumberUpdate
This example shows how to update NetworkSiteId for two numbers.
Parameters
-NetworkSiteId
ID of a network site. A network site represents a location where your organization has a physical venue, such as offices, a set of buildings, or a campus.
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
The phone numbers to update NetworkSiteId for.
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.