編輯

共用方式為


Remove-CsHybridTelephoneNumber

This cmdlet removes a hybrid telephone number.

Syntax

Remove-CsHybridTelephoneNumber
      -TelephoneNumber <string>
      [-Force]
      [-WhatIf]
      [-Confirm][<CommonParameters>]

Description

This cmdlet removes a hybrid telephone number used for Audio Conferencing with Direct Routing for GCC High and DoD clouds.

Examples

Example 1

Remove-CsHybridTelephoneNumber -TelephoneNumber 14025551234

This example removes the hybrid phone number +1 (402) 555-1234.

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Force

Suppresses the display of any non-fatal error message that might arise when running the command.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-TelephoneNumber

The telephone number to remove. The number should be specified without a prefixed "+". The phone number can't have "tel:" prefixed.

Type:System.String
Position:named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Microsoft Teams

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

None

Notes

The cmdlet is only available in GCC High and DoD cloud instances.