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
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 |
---|---|
|
Activates the Application Server. |
|
Activates the application with the specified application ID (such as Microsoft.Rtc.Applications.Acd). |
|
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) |
|
Deactivates the Application Server. |
|
Deactivates the application with the specified application ID. |
|
Runs a diagnostic on a particular application. You must specify
an application ID in the
|
Archiving
This context provides actions you can perform on an Archiving Server.
Action | Description |
---|---|
|
Activates the Archiving Server. |
|
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) |
|
Deactivates the Archiving Server. |
Cert
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 |
---|---|
|
New in Office Communications Server 2007 R2. Assigns a
certificate to a server. The certificate is assigned to the
internal servers unless the
|
|
Checks the status of a pending certificate request for offline certificate request scenarios. |
|
Exports a certificate (.pfx extension) from the local store. |
|
Imports the certification authority (CA) chain certificate. |
|
Imports a certificate to the local computer. |
|
Imports a response from the CA. |
|
Lists available CAs (published in the domain). |
|
Requests a certificate. |
Config
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 |
---|---|
|
Exports configuration settings in XML format. |
|
Imports configuration settings from an XML format. |
ConfServer
The ConfServer context allows you to perform diagnostics on a conference between two users.
Action | Description |
---|---|
|
Runs a diagnostic on a conferencing server. You must specify the user ID and passwords for the two users in the conference. |
Domain
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 |
---|---|
|
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
|
|
Checks to ensure the domain is properly prepared. |
|
Ascertains whether a
|
|
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
|
|
Creates permissions for Office Communications Server groups. |
|
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. |
|
Remove the actions back to the domains original state. |
|
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
|
|
Takes permissions away from Office Communications Server groups. |
Forest
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 |
---|---|
|
Checks whether all domains in the forest have been prepared to host Office Communications Server. |
|
Lists all pools in a forest together with their states. |
|
Checks whether the forest has been prepared for Office Communications Server. |
|
Checks the pool's state. |
|
Checks the Active Directory schema state. |
|
Creates a pool for Office Communications Server Enterprise Edition servers in the forest. |
|
Runs extensive diagnostic analysis. |
|
Prepares the forest to host Office Communications Server. |
|
Removes the preparation from the forest to host Office Communications Server. |
|
Removes a pool from the forest. |
|
Prepares schema by uploading Office Communications Server schema extensions. |
|
Updates the Back-End Server for a pool. |
MCU
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 |
---|---|
|
Activates the Conferencing Server. |
|
Checks the state of the Conferencing Server. |
|
Deactivates the Conferencing Server. |
|
Performs diagnostics on the Conferencing Server. You must
specify a value for the
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. |
MedSrv
The MedSrv context performs actions on the Mediation Server.
Action | Description |
---|---|
|
Activates the Mediation Server. |
|
Checks the state of the Mediation Server. |
|
Deactivates the Mediation Server. |
Monitoring
This context is new in Office Communications Server 2007 R2. Use the Monitoring context to perform actions on the Monitoring Server.
Action | Description |
---|---|
|
Activates the Monitoring Server. |
|
Checks the state of the Monitoring Server. |
|
Deactivates the Monitoring Server. |
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 |
---|---|
|
Activates the specified server. |
|
New in Office Communications Server 2007 R2. Broadcasts an IM message to all SIP-enabled users or users hosted on a specific pool. |
|
Checks the state of the server. |
|
Deactivates the server. |
|
Performs diagnostics on the server. You must specify a value for
the
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. |
Web
This context performs actions on the Web Components Server.
Action | Description |
---|---|
|
Activates the Web Components Server. |
|
Checks the state of the Web Components Server. |
|
Deactivates the Web Components Server. |
|
Performs diagnostics on the Web Components Server. You must
specify a value for the
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. |