Edit

Share via


Remove-CsPhoneNumberTag

This cmdlet allows admin to remove a tag from phone number.

Syntax

Default (Default)

Remove-CsPhoneNumberTag
    -Tag <String>
    [-PhoneNumber <String>]
    [<CommonParameters>]

Description

This cmdlet allows telephone number administrators to remove existing tags from any telephone numbers. This method does not delete the tag from the system if the tag is assigned to other telephone numbers.

Examples

Example 1

PS C:\> Remove-CsPhoneNumberTag -PhoneNumber +123456789 -Tag "HR"

This example shows how to remove the tag "HR" from telephone number +123456789.

Parameters

-PhoneNumber

Indicates the phone number for the the tag to be removed from

Parameter properties

Type: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

-Tag

Indicates the tag to be removed.

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