Topic Last Modified: 2010-10-01

Resets all the network configuration settings for a Microsoft Lync Server 2010 deployment to the default values. This deletes an entire call admission control (CAC) deployment and related E9-1-1 configuration.

Syntax

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

Parameters

Parameter Required Type Description

Identity

Required

XdsIdentity

This will always be Global.

Force

Optional

SwitchParameter

Suppresses any confirmation prompts that would otherwise be displayed before making changes.

WhatIf

Optional

SwitchParameter

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

Confirm

Optional

SwitchParameter

Prompts you for confirmation before executing the command. It is recommended that you always use this parameter with this cmdlet.

Detailed Description

WARNING: Running this cmdlet will delete an entire network configuration, including CAC, E9-1-1 regions and sites, and media bypass.

Who can run this cmdlet: By default, members of the following groups are authorized to run the Remove-CsNetworkConfiguration 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-CsNetworkConfiguration"}

Input Types

Microsoft.Rtc.Management.WritableConfig.Settings.NetworkConfiguration.NetworkConfigurationSettings object. Accepts pipelined input of a network configuration object.

Return Types

This cmdlet does not return an object. It removes an object of type Microsoft.Rtc.Management.WritableConfig.Settings.NetworkConfiguration.NetworkConfigurationSettings object.

Example

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

Copy Code
Remove-CsNetworkConfiguration -Identity Global -Confirm

This example removes all CAC, location, E9-1-1 network, and media bypass settings. The Confirm parameter is used so you’ll be prompted to verify you really want to do this before everything is deleted.

See Also