Edit

Share via


Update-CsPhoneNumberTag

This cmdlet allows admin to update existing telephone number tags.

Syntax

Default (Default)

Update-CsPhoneNumberTag
    -NewTag <String>
    -Tag <String>
    [<CommonParameters>]

Description

This cmdlet can be used to update existing tags for telephone numbers. Tags can be up to 50 characters long, including spaces, and can contain multiple words. They are not case-sensitive. An admin can get a list of all existing tags using Get-CsPhoneNumberTag.

Examples

Example 1

PS C:\> Update-CsPhoneNumberTag -Tag "Redmond" -NewTag "Redmond HQ"

This example shows how to update an existing tag "Redmond" to "Redmond HQ"

Parameters

-NewTag

This is the new tag. A tag can be maximum 50 characters long.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Tag

This is the old tag which the admin wants to update.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
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

System.Boolean