You can manage a lot of different aspects of your Office Communications Server installation through the LCSCmd tool. Being a command-line tool, LCSCmd expects you to pass parameters to tell it which aspect - or context - you want to work with. The first parameter of any call to LCSCmd is the context. Here is the list of contexts available for the LCSCmd tool in Office Communications Server 2007 R2.

Available Contexts

Context Usage

AppServer

Application Host

Archiving

Archiving Server

Cert

Certificates

Config

Configuration Settings

ConfServer

Conferencing Server

CWA

Communicator Web Access

Domain

AD DS

Forest

AD DS

MCU

A/V Conferencing Server , Data Conferencing Server, and Application Sharing Server

MedSrv

Mediation Server

Monitoring

Monitoring Server

Server

Standard Edition server; Enterprise Edition server; Proxy Server; Edge Servers

Web

Web Components Server

A parameter is specified by preceding the value with a slash. For example, if you're working with a forest, your command would look like this.

Copy Code
LCSCmd /forest

If you run this command, you'll find that it doesn't actually do anything other than display some syntax help. That's because the command doesnt tell LCSCmd what to do to the forest. For that you need to specify another parameter: an action.