Uninstall-CcAppliance

The Uninstall-CcAppliance cmdlet uninstalls the running Skype for Business Cloud Connector Edition appliance from the host server.

Uninstall-CcAppliance [-Version <string>] [-Force] [-Confirm <bool>] [<CommonParameters>]

Examples

Example 1

The following example drains and uninstalls the Cloud Connector appliance from the host server:

Uninstall-CcAppliance

Example 2

The next example drains and forcibly uninstalls the running Cloud Connector appliance on the host server even if the drain process failed:

Uninstall-CcAppliance -Force

Example 3

The next example uninstalls a Cloud Connector backup version without the user's confirmation:

Uninstall-CcAppliance -Version 1.3.8 -Confirm:$false

Detailed Description

If you are uninstalling the current running version of Cloud Connector, drain services are first run on the Mediation Server and Edge Server to let concurrent calls finish before uninstalling the virtual machines. If you are uninstalling a backup version, draining is not performed.

Parameters

Parameter Required Type Description
Version
Optional
System.String
The version of Cloud Connector that will be uninstalled from the host server. If not specified, uninstall the current running version.
Force
Optional
System.Management.Automation.SwitchParameter
If uninstalling the current running version, attempt to drain servers on Mediation Server and Edge Server before uninstalling the virtual machines. If you specify the "Force" switch, even if the drain services fail, the virtual machines will be uninstalled. This parameter is only used to uninstall the current running version.
Confirm
Optional
System.Management.Automation.SwitchParameter
Ask user's confirmation to uninstall the virtual machines. Default value is TRUE.

Input Types

None. The Uninstall-CcAppliance cmdlet does not accept pipelined input.

Return Types

None

See also

Install-CcAppliance

Publish-CcAppliance

Register-CcAppliance

Unregister-CcAppliance