Editar

Compartilhar via


Set-CsOnlineDialInConferencingUserDefaultNumber

Replace the default toll or toll-free number for all users.

Important

This command is being deprecated and will not be available after July 7, 2024. If you are using this command to bulk update Audio conferencing Toll or Toll free phone numbers for users in your organization you can do that using the following alternative methods.

  1. Use a custom Teams audio conferencing policy - Audio Conferencing toll-free number policies - Microsoft Teams | Microsoft Learn
  2. Use Set-CsOnlineDialinConferencingUser - Set-CsOnlineDialInConferencingUser (MicrosoftTeamsPowerShell) | Microsoft Learn

If you need assistance in using any of the above methods to achieve what you previously did with the Set-CsOnlineDialInConferencingUserDefaultNumber command, please open a support case with our customer support team.

Syntax

Set-CsOnlineDialInConferencingUserDefaultNumber
   [-TenantDomain <String>]
   [-Tenant <Guid>]
   -BridgeName <String>
   [-FromNumber <String>]
   -ToNumber <String>
   -NumberType <String>
   [-CountryOrRegion <String>]
   [-AreaOrState <String>]
   [-CapitalOrMajorCity <String>]
   [-RescheduleMeetings]
   [-DomainController <Fqdn>]
   [-Force]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CsOnlineDialInConferencingUserDefaultNumber
   [-TenantDomain <String>]
   [-Tenant <Guid>]
   [-BridgeName <String>]
   -BridgeId <Guid>
   -ToNumber <String>
   -NumberType <String>
   -CountryOrRegion <String>
   [-AreaOrState <String>]
   [-CapitalOrMajorCity <String>]
   [-RescheduleMeetings]
   [-DomainController <Fqdn>]
   [-Force]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CsOnlineDialInConferencingUserDefaultNumber
   [-TenantDomain <String>]
   [-Tenant <Guid>]
   -BridgeId <System.Guid>
   -FromNumber <String>
   -ToNumber <String>
   -NumberType <String>
   [-RescheduleMeetings]
   [-DomainController <Fqdn>]
   [-Force]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

Provide the detailed description here.

Examples

-------------------------- Example 1 --------------------------

Set-CsOnlineDialInConferencingUserDefaultNumber -FromNumber 14255550100 -ToNumber 14255550101 -NumberType Toll -RescheduleMeetings -BridgeId 9884626f-dcfb-49f4-8025-912f5bc68fdc

This example replaces the default toll or toll-free number for all users who have the number 14255550100 as a default number to the number 14255550101 and starts the process of rescheduling their meetings.

Parameters

-AreaOrState

A String representing the Area or State this Dial In Conferencing Default number belongs to.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Online

-BridgeId

The Bridge Id results from running Get-CsOnlineDialInConferencingBridge For example "9884626f-dcfb-49f4-8025-912f5bc68fdc". You can either specify BridgeName or BridgeId.

Type:Guid
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Online

-BridgeName

The Bridge Name results from running Get-CsOnlineDialInConferencingBridge For example "Conference Bridge". You can either specify BridgeName or BridgeId.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Online

-CapitalOrMajorCity

A String representing the Capital or Major City this Dial In Conferencing Default number belongs to.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Online

-Confirm

Prompts you for confirmation before executing the command.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Online

-CountryOrRegion

A String representing the Country or Region this Dial In Conferencing Default number belongs to.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Online

-DomainController

This parameter is reserved for internal Microsoft use.

Type:Fqdn
Aliases:DC
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Online

-Force

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.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Online

-FromNumber

The current default number defined. $null if no number defined.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Online

-NumberType

The type of number this Dial In Conferencing Default number has. Valid values are

  • Toll
  • TollFree
Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Online

-RescheduleMeetings

Sends e-mail notifications to Meeting attendees with the updated settings.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Online

-Tenant

This parameter is reserved for internal Microsoft use.

Type:Guid
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Online

-TenantDomain

This parameter is reserved for internal Microsoft use.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Online

-ToNumber

The new number to assign, without the + sign, for example 14255550101.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Online

-WhatIf

Describes what would happen if you executed the command without actually executing the command.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Online