Export (0) Print
Expand All

Reference by Context

Communications Server 2007 R2

Topic Last Modified: 2009-03-11

This section provides a reference for all the available contexts, including the actions available to each context and a brief description of those actions. For each action associated with a context, there are several parameters you can specify. For details about these parameters, see Parameters.

AppServer is new in Office Communications Server 2007 R2. You can perform actions on the Application Server, or even on an application on the server, by using the AppServer context.

Action Description

Activate

Activates the Application Server.

ActivateApp

Activates the application with the specified application ID (such as Microsoft.Rtc.Applications.Acd).

CheckLCServerState

Checks the state of the server. Results are sent directly to a log file. (The name of the log file is provided as output to the command prompt. By default the file name is formatted as context_CheckLCServerState [yyyy_mm_dd][hh_mm_ss].html)

Deactivate

Deactivates the Application Server.

DeactivateApp

Deactivates the application with the specified application ID.

Diag

Runs a diagnostic on a particular application. You must specify an application ID in the /ApplicationID parameter. Results are sent directly to a log file. (The name of the log file is provided as output to the command prompt. By default the file name is formatted as AppServer_Diag[yyyy_mm_dd][hh_mm_ss].html)

This context provides actions you can perform on an Archiving Server.

Action Description

Activate

Activates the Archiving Server.

CheckLCServerState

Checks the state of the server. Results are sent directly to a log file. (The name of the log file is provided as output to the command prompt. By default the file name is formatted as Archiving_CheckLCServerState[yyyy_mm_dd][hh_mm_ss].html)

Deactivate

Deactivates the Archiving Server.

In addition to AD DS and server roles, LCSCmd provides functionality for working with certificates. Here are the actions you can perform on certificates.

Action Description

Assign

New in Office Communications Server 2007 R2. Assigns a certificate to a server. The certificate is assigned to the internal servers unless the /Components parameter is used to specify a server.

CheckStatus

Checks the status of a pending certificate request for offline certificate request scenarios.

ExportPFX

Exports a certificate (.pfx extension) from the local store.

ImportCAChain

Imports the certification authority (CA) chain certificate.

ImportPFX

Imports a certificate to the local computer.

ImportResponse

Imports a response from the CA.

ListCA

Lists available CAs (published in the domain).

Request

Requests a certificate.

You can use LCSCmd to export or import configuration settings at the global, computer, and pool level. So it makes sense that there are two actions available with the Config context.

Action Description

Export

Exports configuration settings in XML format.

Import

Imports configuration settings from an XML format.

The ConfServer context allows you to perform diagnostics on a conference between two users.

Action Description

Diag

Runs a diagnostic on a conferencing server. You must specify the user ID and passwords for the two users in the conference.

The domain context allows you to configure Active Directory domains for an Office Communications Server 2007 R2 deployment. Domain actions prepare a domain or several domains to host Office Communications Server and check the validity of those actions.

Here are the actions available for a domain.

Action Description

CheckDelegation

Checks Read-Only, Server, User, or Setup Admins credentials on the domain. You must specify the name of the domain group to check in the /TrusteeGroup parameter.

CheckDomainPrepState

Checks to ensure the domain is properly prepared.

CheckLcsOuPermissions

Ascertains whether a CreateLcsOuPermissions action was successful.

CreateDelegation

Creates Read-Only, Server, User, or Setup credentials on the domain. You must specify the name of the domain group for which you are granting permissions in the /TrusteeGroup parameter.

CreateLcsOuPermissions

Creates permissions for Office Communications Server groups.

DomainPrep

Prepare a domain by adding the necessary access control entries (ACEs) to universal groups that grant permissions to host and manage users within the domain.

DomainUnPrep

Remove the actions back to the domains original state.

RemoveDelegation

Removes Read-Only, Server, User, or Setup credentials on the domain. You must specify the name of the domain group for which you are removing permissions in the /TrusteeGroup parameter.

RemoveLcsOuPermissions

Takes permissions away from Office Communications Server groups.

The forest context allows you to configure Active Directory forests for an Office Communications Server 2007 R2 deployment. Forest actions are used for initial deployment procedures and generally impact more than one domain in an Active Directory forest, including domains in the forest, domains prepared for Office Communications Server 2007 R2, the schema naming context, and the configuration naming context.

Here are the actions that are available for a forest.

Action Description

CheckAllDomainsPrepState

Checks whether all domains in the forest have been prepared to host Office Communications Server.

CheckAllPoolsState

Lists all pools in a forest together with their states.

CheckForestPrepState

Checks whether the forest has been prepared for Office Communications Server.

CheckPoolState

Checks the pool's state.

CheckSchemaPrepState

Checks the Active Directory schema state.

CreatePool

Creates a pool for Office Communications Server Enterprise Edition servers in the forest.

Diag

Runs extensive diagnostic analysis.

ForestPrep

Prepares the forest to host Office Communications Server.

ForestUnprep

Removes the preparation from the forest to host Office Communications Server.

RemovePool

Removes a pool from the forest.

SchemaPrep

Prepares schema by uploading Office Communications Server schema extensions.

UpdatePoolBackend

Updates the Back-End Server for a pool.

The MCU context performs actions on the A/V Conferencing Server, the Web Conferencing Server, or the Application Sharing Server, depending on the role specified.

Action Description

Activate

Activates the Conferencing Server.

CheckLCServerState

Checks the state of the Conferencing Server.

Deactivate

Deactivates the Conferencing Server.

Diag

Performs diagnostics on the Conferencing Server. You must specify a value for the /DiagnosticLevel parameter:

1 – Check local server configuration.

2 – Check connectivity.

4 – Perform Session Initiation Protocol (SIP) logon and instant messaging (IM) tests.

8 – Perform IM conference tests.

16 – Check client auto-logon.

You can also combine diagnostic checks. For example, to check for connectivity (2) and perform IM conference tests (8), use a value of 10.

The MedSrv context performs actions on the Mediation Server.

Action Description

Activate

Activates the Mediation Server.

CheckLCServerState

Checks the state of the Mediation Server.

Deactivate

Deactivates the Mediation Server.

This context is new in Office Communications Server 2007 R2. Use the Monitoring context to perform actions on the Monitoring Server.

Action Description

Activate

Activates the Monitoring Server.

CheckLCServerState

Checks the state of the Monitoring Server.

Deactivate

Deactivates the Monitoring Server.

LCSCmd has several actions it can perform on a server role after Office Communications Server (and the particular server role) has been installed. The Server context acts on Standard Edition servers, Enterprise Edition servers, Workgroup Proxy Server, and Edge Servers.

Action Description

Activate

Activates the specified server.

BroadcastMessage

New in Office Communications Server 2007 R2. Broadcasts an IM message to all SIP-enabled users or users hosted on a specific pool.

CheckLCServerState

Checks the state of the server.

Deactivate

Deactivates the server.

Diag

Performs diagnostics on the server. You must specify a value for the /DiagnosticLevel parameter:

1 – Check local server configuration.

2 – Check connectivity.

4 – Perform SIP logon and IM tests.

8 – Perform IM conference tests.

16 – Check client auto-logon.

You can also combine diagnostic checks. For example, to check for connectivity (2) and perform IM conference tests (8), use a value of 10.

This context performs actions on the Web Components Server.

Action Description

Activate

Activates the Web Components Server.

CheckLCServerState

Checks the state of the Web Components Server.

Deactivate

Deactivates the Web Components Server.

Diag

Performs diagnostics on the Web Components Server. You must specify a value for the /DiagnosticLevel parameter:

1 – Check local server configuration.

2 – Check connectivity.

4 – Perform SIP logon and IM tests.

8 – Perform IM conference tests.

16 – Check client auto-logon.

You can also combine diagnostic checks. For example, to check for connectivity (2) and perform IM conference tests (8), use a value of 10.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft