Topic Last Modified: 2013-02-21

Removes one or more collections of dial-in conferencing configuration settings. These settings determine how Lync Server responds when users join or leave a dial-in conference. This cmdlet was introduced in Lync Server 2010.

Syntax

Remove-CsDialInConferencingConfiguration -Identity <XdsIdentity> [-Confirm [<SwitchParameter>]] [-Force <SwitchParameter>] [-WhatIf [<SwitchParameter>]]

Examples

EXAMPLE 1

In Example 1, the dial-in conferencing configuration settings for the Redmond site are deleted.

Copy Code
Remove-CSDialInConferencingConfiguration -Identity "site:Redmond"

EXAMPLE 2

In Example 2, all the dial-in conferencing settings that have been configured at the site scope are deleted. To do this, the command first uses the Get-CSDialInConferencingConfiguration cmdlet and the Filter parameter to return a collection of all the dial-in conferencing settings that have been configured at the site scope. (The filter value "site:*" ensures that only settings that have an Identity that begins with the string value "site:" are returned.) This filtered collection is then piped to the Remove-CSDialInConferencingConfiguration cmdlet, which removes each item in the collection.

Copy Code
Get-CSDialInConferencingConfiguration -Filter "site:*" | Remove-CSDialInConferencingConfiguration

EXAMPLE 3

In Example 3, all the dial-in conferencing configuration settings that do not use name recording are deleted. To carry out this task, the command first calls the Get-CSDialInConferencingConfiguration cmdlet without any parameters in order to return a collection of all the dial-in conferencing configuration settings currently in use in the organization. This collection is then piped to the Where-Object cmdlet, which picks out only those settings where the EnableNameRecording property is equal to False. In turn, this filtered collection is piped to the Remove-CSDialInConferencingConfiguration cmdlet, which deletes each item in the collection.

Copy Code
Get-CSDialInConferencingConfiguration | Where-Object {$_.EnableNameRecording -eq $False} | Remove-CSDialInConferencingConfiguration

Detailed Description

When users join (or leave) a dial-in conference, Lync Server can respond in different ways. For example, participants might be asked to record their name before they can enter the conference itself. Likewise, administrators can decide whether they want to have Lync Server announce that dial-in participants have either left or joined a conference.

These conference "join behaviors" are managed using dial-in conferencing configuration settings; these settings can be configured at the global scope or at the site scope. (Settings configured at the site scope take precedence over settings configured at the global scope.) When you install Lync Server, a global collection of dial-in conferencing configuration settings will be created for you. If you want to have different settings for a site (or set of sites), you can create those collections by using the New-CSDialInConferencingConfiguration cmdlet.

The Remove-CSDialInConferencingConfiguration cmdlet deletes any dial-in conferencing settings that have been configured at the site scope. When these site-specific settings are deleted, users in the affected sites will have their dial-in conferencing behaviors governed by the global settings.

You can also run the Remove-CSDialInConferencingConfiguration cmdlet against the global dial-in conferencing settings. If you do that, the global settings will not be removed; that’s because the global settings cannot be removed. Instead, all the properties within that collection of settings will be reset to their default values.

Who can run this cmdlet: By default, members of the following groups are authorized to run the Remove-CsDialInConferencingConfiguration cmdlet locally: RTCUniversalServerAdmins. To return a list of all the role-based access control (RBAC) roles this cmdlet has been assigned to (including any custom RBAC roles you have created yourself), run the following command from the Windows PowerShell prompt:

Get-CsAdminRole | Where-Object {$_.Cmdlets –match "Remove-CsDialInConferencingConfiguration"}

Parameters

Parameter Required Type Description

Identity

Required

Microsoft.Rtc.Management.Xds.XdsIdentity

Indicates the Identity of the dial-in conferencing configuration settings to be removed. To refer to the global settings, use this syntax: -Identity global. To refer to site settings, use syntax similar to this: -Identity site:Redmond. Note that you cannot use wildcards when specifying an Identity.

Confirm

Optional

System.Management.Automation.SwitchParameter

Prompts you for confirmation before executing the command.

Force

Optional

System.Management.Automation.SwitchParameter

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

WhatIf

Optional

System.Management.Automation.SwitchParameter

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

Input Types

Microsoft.Rtc.Management.WritableConfig.Settings.DialInConferencingSettings.DialInConferencingConfiguration object. The Remove-CSDialInConferencingConfiguration cmdlet accepts pipelined instances of the dial-in conferencing configuration object.

Return Types

None. Instead, the Remove-CSDialInConferencingConfiguration cmdlet deletes instances of the Microsoft.Rtc.Management.WritableConfig.Settings.DialInConferencingSettings.DialInConferencingConfiguration object.

See Also