Remove-CsOnlineTelephoneNumber

 

Topic Last Modified: 2016-04-15

Use the Remove-CsOnlineTelephoneNumber cmdlet to remove a telephone number from the Business Voice Directory.

Remove-CsOnlineTelephoneNumber -TelephoneNumber <String[]> [-Confirm [<SwitchParameter>]] [-DomainController <Fqdn>] [-Force <SwitchParameter>] [-Tenant <Guid>] [-WhatIf [<SwitchParameter>]]

This example removes the specified telephone number from the Business Voice Directory.

Remove-CsOnlineTelephoneNumber -TelephoneNumber +14258884567

 

Parameter Required Type Description

TelephoneNumber

Required

System.String[]

Specifies the target telephone number. For example: -TelephoneNumber tel:+18005551234, or -TelephoneNumber +14251234567

Confirm

Optional

System.Management.Automation.SwitchParameter

The Confirm switch causes the command to pause processing, and requires confirmation to proceed.

DomainController

Optional

Microsoft.Rtc.Management.Deploy.Fqdn

This parameter is reserved for internal Microsoft use.

Force

Optional

System.Management.Automation.SwitchParameter

The Force switch specifies whether to suppress warning and confirmation messages. It can be useful in scripting to suppress interactive prompts. If the Force switch isn't provided in the command, you're prompted for administrative input if required.

Tenant

Optional

System.Guid

This parameter is reserved for internal Microsoft use.

WhatIf

Optional

System.Management.Automation.SwitchParameter

The WhatIf switch causes the command to simulate its results. By using this switch, you can view what changes would occur without having to commit those changes.

 
Show: