Install-CcAppliance

The Install-CcAppliance cmdlet installs the Skype for Business Cloud Connector Edition appliance—including the AD, Central Management Store, Mediation Server, and Edge Server virtual machines—on the host server.

Install-CcAppliance [-Steps <array>] [-SkipExistingObjects] [-Upgrade] [-UpdateAllCredentials] [<CommonParameters>]
Install-CcAppliance [-Steps <array>] [-PrepareOnly]  [<CommonParameters>]
Install-CcAppliance [-ShowStepsOnly]  [<CommonParameters>]

Examples

Example 1

The following example installs a new Cloud Connector appliance on the host server:

Install-CcAppliance

Example 2

The following example upgrades Cloud Connector to the latest version:

Install-CcAppliance -Upgrade

Example 3

The following example removes all Cloud Connector credentials cached on the host server, prompts the user to specify all credential information again, and then installs Cloud Connector:

Install-CcAppliance -UpdateAllCredentials

Example 4

The following example displays all deployment steps in the PowerShell console:

Install-CcAppliance -ShowStepsOnly

The -ShowStepsOnly parameter is for troubleshooting only.

Example 5

The following example generates configuration files for each deployment step on the host server. Configuration files are saved to the <ApplianceRoot>\Instances\<Version>-default\ExportedConfig folder on the host server:

Install-CcAppliance -PrepareOnly

To determine the appliance root, run the Get-CcApplianceDirectory cmdlet.

Example 6

In the following example, Cloud Connector runs deployment steps 1, 2, and 3 to create virtual switches, create an AD virtual machine, and install the domain service on the AD server. It skips the step if the step has already been executed:

Install-CcAppliance -Steps @(1,2,3) -SkipExistingObjects

The SkipExistingObjects parameter must be used in conjunction with the Steps parameter.

Note

The Steps parameter is for troubleshooting purposes only. Do not use this parameter to deploy an appliance or to upgrade an appliance that is in service.

To determine the steps of the deployment, run the following command:

Install-CcAppliance -ShowStepsOnly

Detailed Description

The Install-CcAppliance cmdlet is used to deploy Cloud Connector to a new appliance or to upgrade an existing appliance to the latest version.

If you have a new appliance, be sure to read Prepare your environment for Cloud Connector first, run the Register-CcAppliance cmdlet to register the appliance, and then run the Install-CcAppliance cmdlet. For more information, see Deploy a single site in Cloud Connector and Deploy multiple sites in Cloud Connector.

If you have an existing deployment of Cloud Connector and you want to upgrade, please follow the instructions in Upgrade to a new version of Cloud Connector.

Parameters

Parameter Required Type Description
PrepareOnly
Optional
System.Management.Automation.SwitchParameter
Generate configuration files for each deployment step. This parameter is for troubleshooting only.
ShowStepsOnly
Optional
System.Management.Automation.SwitchParameter
Display deployment step names only. This parameter is for troubleshooting only.
SkipExistingObjects
Optional
System.Management.Automation.SwitchParameter
This parameter must be used in conjunction with the Steps parameter. This parameter is for troubleshooting only.
Steps
Optional
System.Array
Run the deployment steps. This parameter is for troubleshooting only.
Upgrade
Optional
System.Management.Automation.SwitchParameter
Upgrade existing Cloud Connector to the latest version.
UpdateAllCredentials
Optional
System.Management.Automation.SwitchParameter
Remove all Cloud Connector credentials in the cache. Prompt the user to specify new credential information for the installation.

Input Types

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

Return Types

None

See also

Publish-CcAppliance

Register-CcAppliance

Unregister-CcAppliance

Uninstall-CcAppliance