[This is preliminary documentation and is subject to change. Blank topics are included as placeholders.]

Enables new or newly-updated services or server roles on a computer running Microsoft Communications Server 2010.

Syntax

Enable-CsComputer [-Confirm [<SwitchParameter>]] [-Force <SwitchParameter>] [-GlobalCatalog <Fqdn>] [-GlobalSettingsDomainController <Fqdn>] [-Report <String>] [-WhatIf [<SwitchParameter>]]

Parameters

Parameter Required Type Description

GlobalCatalog

Optional

String

Fully qualified domain name of a global catalog server in your domain. This parameter is not required if you are running Enable-CsComputer on a computer with an account in your domain.

GlobalSettingDomainController

Optional

String

Fully qualified domain name of a domain controller where global settings are stored. If global settings are stored in the System container in Active Directory then this parameter must point to the root domain controller. If global settings are stored in the Configuration container then any domain controller can be used and this parameter can be omitted.

Report

Optional

String

Enables you to specify a file path for the log file created when the cmdlet runs. For example: -Report "C:\Logs\EnableComputer.html"

Force

Optional

Switch Parameter

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

WhatIf

Optional

Switch Parameter

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

Confirm

Optional

Switch Parameter

Prompts you for confirmation before executing the command.

Detailed Description

Installing the required software does not automatically cause a computer to adopt a new service role; instead, that computer must be enabled before it actually begins to function in its new role. The Enable-CsComputer cmdlet provides a way for administrators to enable newly-updated services or server roles on the local computer.

Return Types

Enable-CsComputer enables instances of the Microsoft.Rtc.Management.Deploy.Internal.Machine object.

Examples

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

Copy Code
Enable-CsComputer

The command shown in Example 1 activates any new Communications Server services or server roles that have been installed on the local computer.

-------------------------- Example 2 ------------------------

Copy Code
Enable-CsComputer -Verbose

The preceding command also activates any new Communications Server services or server roles that have been installed on the local computer. In this case, however, the addition of the –Verbose parameter ensures that a step-by-step account of the tasks being carried out by Enable-CsComputer will be reported onscreen.